@Test
public void givenArg$showWelcomeMessageWithMode_whenQuery_thenShouldCallNativeApiWithArg() {

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