### Question:
SaltConfigs { public static void addToRunList(EntitySpec<?> entity, String...states) { for (String state : states) { entity.configure(SaltConfig.SALT_RUN_LIST, SetModifications.addItem(state)); } }  static void addToRunList(EntitySpec<?> entity, String...states); static void addToRunList(EntityInternal entity, String...states); static void addToFormuals(EntitySpec<?> entity, String formulaName, String formulaUrl); static void addToFormulas(EntityInternal entity, String formulaName, String formulaUrl); @SuppressWarnings({ "unchecked", "rawtypes" }) static void addLaunchAttributes(EntitySpec<?> entity, Map<? extends Object,? extends Object> attributesMap); @SuppressWarnings({ "unchecked", "rawtypes" }) static void addLaunchAttributes(EntityInternal entity, Map<? extends Object,? extends Object> attributesMap); static void setLaunchAttribute(EntitySpec<?> entity, String rootAttribute, Object value); static void setLaunchAttribute(EntityInternal entity, String rootAttribute, Object value); static T getRequiredConfig(Entity entity, ConfigKey<T> key);  }### Answer:
@Test public void testAddToRunList() { app = ApplicationBuilder.newManagedApp(TestApplication.class); SaltConfigs.addToRunList(app, "a", "b"); Set<? extends String> runs = app.getConfig(SaltConfig.SALT_RUN_LIST); Assert.assertEquals(runs, ImmutableSet.of("a", "b")); }