Update tests for APM.endAppLaunch
@@ -106,12 +106,11 @@ public class RNInstabugAPMModuleTest {
@Test
public void given$endAppLaunch_whenQuery_thenShouldCallNativeApiWithEnabled() {
- // given
- PowerMockito.mockStatic(APM.class);
+
// when
apmModule.endAppLaunch();
// then
- PowerMockito.verifyStatic(VerificationModeFactory.times(1));
+ verify(APM.class, times(1));
APM.endAppLaunch();
}
