### Question:
Arm extends AbstractNamedEntity<Arm> implements TypeWithNotes { public ObservableList<Note> getNotes() { return d_notes; } Arm(String name, int size); @Override String toString(); Integer getSize(); void setSize(Integer size); @Override Set<Entity> getDependencies(); @Override Arm clone(); ObservableList<Note> getNotes(); @Override boolean deepEquals(Entity obj); @Override boolean equals(Object obj); Arm rename(String newName); static final String PROPERTY_SIZE; }### Answer:
@Test public void testNotes() { assertEquals(Collections.emptyList(), d_arm.getNotes()); Note n = new Note(Source.MANUAL, "Zis is a note"); d_arm.getNotes().add(n); assertEquals(Collections.singletonList(n), d_arm.getNotes()); }