@Test
public void givenTrue$setBugReportingEnabled_whenQuery_thenShouldCallNativeApiWithEnabled() {

    // given
    PowerMockito.mockStatic(BugReporting.class);
    // when
    bugReportingModule.setEnabled(true);
    // then
    PowerMockito.verifyStatic(VerificationModeFactory.times(1));
    BugReporting.setState(Feature.State.ENABLED);
}