@Test
public void getMissingSettingsDeveloper() {

    SettingsChecker settingsCheck=new SettingsChecker(context);
    HashSet<SettingsChecker.SettingsType> settings;
    Settings.Secure.putInt(context.getContentResolver(), "development_settings_enabled", 0);
    settings = settingsCheck.GetMissingSettings();
    assertTrue(settings.contains(SettingsChecker.SettingsType.Developer));
    Settings.Secure.putInt(context.getContentResolver(), "development_settings_enabled", 1);
    settings = settingsCheck.GetMissingSettings();
    assertTrue(settings.contains(SettingsChecker.SettingsType.Developer)==false);
}