### Question:
Workspace implements IModeShapeObject { public String getName() { return this.name; } Workspace( String name,
                      Repository repository ); @Override boolean equals( Object obj ); String getName(); Repository getRepository(); Server getServer(); String getShortDescription(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void shouldHaveName() { assertThat(workspace1.getName(), is(NAME1)); assertThat(workspace2.getName(), is(NAME2)); }