@Test
public void givenArg$setReproStepsMode_whenQuery_thenShouldCallNativeApiWithArg() throws Exception {

    // given
    PowerMockito.mockStatic(Instabug.class);
    Map<String, Object> args = new HashMap<>();
    ArgsRegistry.registerReproStepsModeArgs(args);
    final String[] keysArray = args.keySet().toArray(new String[0]);
    // when
    for (String key : keysArray) {
        rnModule.setReproStepsMode(key);
    }
    // then
    for (String key : keysArray) {
        State mode = (State) args.get(key);
        PowerMockito.verifyStatic(VerificationModeFactory.times(1));
        Instabug.setReproStepsState(mode);
    }
}