@Test
public void givenTrue$setViewHierarchyEnabled_whenQuery_shouldCallNativeApiWithEnabled() {

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