verify(chain).close();
}
+ @Test
+ public void closeWithoutNPE() throws Exception {
+ provider.onSessionInitiated(session);
+ provider.onSessionInitiated(context);
+ provider.close();
+ provider.close();
+ verify(chain, times(2)).close();
+ }
}
\ No newline at end of file