### Question:
CharmDisplayPropertiesMap { public TreePresentationProperties getDisplayProperties(CharacterType characterType) { return map.getForCharacterType(characterType); } CharmDisplayPropertiesMap(ObjectFactory objectFactory); TreePresentationProperties getDisplayProperties(CharacterType characterType);  }### Answer:
@Test public void findsPropertiesForCharacterType() throws Exception { TreePresentationProperties expectation = new DummyCharmPresentationProperties(); ConfigurableDummyObjectFactory factory = new ConfigurableDummyObjectFactory(); factory.add(CharmPresentationProperties.class, expectation); DummyExaltCharacterType characterType = new DummyExaltCharacterType(); TreePresentationProperties properties = new CharmDisplayPropertiesMap(factory).getDisplayProperties(characterType); assertThat(properties, is(expectation)); }