@Test
public void givenExtendedBugReportMode$setExtendedBugReportMode_whenQuery_thenShouldCallNativeApiWithArgs() {

    // given
    PowerMockito.mockStatic(BugReporting.class);
    Map<String, Object> args = new HashMap<>();
    ArgsRegistry.registerInstabugExtendedBugReportModeArgs(args);
    // when
    for (String strExtendedBugReportMode : args.keySet()) {
        bugReportingModule.setExtendedBugReportMode(strExtendedBugReportMode);
    }
    // then
    for (Object extendedBugReportMode : args.values()) {
        ExtendedBugReport.State state = (ExtendedBugReport.State) extendedBugReportMode;
        PowerMockito.verifyStatic(VerificationModeFactory.times(1));
        BugReporting.setExtendedBugReportState(state);
    }
}