ModifierManager implements Tickable { public void addNewAttributeModifier(Map<String, String> settings) { attributeModifiers.add(new AttributeModifier(settings)); } ModifierManager(); void addNewAttributeModifier(Map<String, String> settings); void removeAttributeModifier(String target, String tag,
                                        Point position); void purge(String tag); Integer count(String tag); @Override void tick();  }
@Test public void testAddNewAttributeModifier() throws Exception { Map<String, String> settings = new HashMap<>(); settings.put("tag", "Tests"); settings.put("target", "Batman"); settings.put("location", position.toString()); manager.addNewAttributeModifier(settings); Assert.assertTrue(manager.count("Tests") == 1); Assert.assertTrue(manager.count("all") == 1); Assert.assertTrue(manager.count("Batman") == 0); }