### Question:
DestroyWorkspaceRequest extends ChangeRequest { @Override public boolean equals( Object obj ) { if (obj == this) return true; if (this.getClass().isInstance(obj)) { DestroyWorkspaceRequest that = (DestroyWorkspaceRequest)obj; if (!this.workspaceName.equals(that.workspaceName())) return false; return true; } return false; } DestroyWorkspaceRequest( String workspaceName ); String workspaceName(); Location getActualLocationOfRoot(); void setActualRootLocation( Location actualLocationOfRoot ); @Override boolean isReadOnly(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString(); @Override Location changedLocation(); @Override String changedWorkspace(); @Override boolean changes( String workspace,
                            Path path ); @Override DestroyWorkspaceRequest clone(); @Override RequestType getType();  }### Answer:
@Test public void shouldConsiderNotEqualTwoRequestsWithDifferentWorkspaceNames() { request = new DestroyWorkspaceRequest(workspace1); DestroyWorkspaceRequest request2 = new DestroyWorkspaceRequest(workspace2); assertThat(request.equals(request2), is(false)); }