source: class RNInstabugSurveysModuleTest {
  
      private RNInstabugSurveysModule surveysModule;
      private final static ScheduledExecutorService mainThread;
  
      @Test
      public void givenIsEnabled$setAutoShowingEnabled_whenQuery_thenShouldCallNativeApiWithIsEnabled() {
  
target:         // given
          PowerMockito.mockStatic(Surveys.class);
          // when
          surveysModule.setAutoShowingEnabled(true);
          // then
          PowerMockito.verifyStatic(VerificationModeFactory.times(1));
          Surveys.setAutoShowingEnabled(true);
      }
  
  }