### Question:
Entity { public String getTitle() { return title; } Entity(final String title, final TYPE type, final List<Diagram> diagrams); @Override String toString(); String getTitle(); TYPE getType(); List<Diagram> getDiagrams();  }### Answer:
@Test public void testGetTitle() { assertEquals(ENTITY_TITLE, this.fooEntity.getTitle()); assertEquals(ENTITY_TITLE, this.barEntity.getTitle()); }