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