@Test
public void givenStringTheme$setColorTheme_whenQuery_thenShouldCallNativeApiWithTheme() {

    // given
    PowerMockito.mockStatic(Instabug.class);
    Map<String, Object> themesArgs = new HashMap<>();
    ArgsRegistry.registerColorThemeArgs(themesArgs);
    final String[] keysArray = themesArgs.keySet().toArray(new String[0]);
    // when
    for (String key: keysArray) {
        rnModule.setColorTheme(key);
    }
    // then
    PowerMockito.verifyStatic(VerificationModeFactory.times(1));
    for (String key : keysArray) {
        InstabugColorTheme theme = (InstabugColorTheme) themesArgs.get(key);
        Instabug.setColorTheme(theme);
    }
}