### Question:
SaltConfigs { public static void addToFormulas(EntityInternal entity, String formulaName, String formulaUrl) { entity.config().set(SaltConfig.SALT_FORMULAS.subKey(formulaName), formulaUrl); }  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 testAddToFormulas() { app = ApplicationBuilder.newManagedApp(TestApplication.class); SaltConfigs.addToFormulas(app, "k1", "v1"); SaltConfigs.addToFormulas(app, "k2", "v2"); Map<String, String> formulas = app.getConfig(SaltConfig.SALT_FORMULAS); Assert.assertEquals(formulas, ImmutableMap.of("k1", "v1", "k2", "v2")); }