assertThat(workspace.equals(other), is(false));
}
@Test
public void shouldConsiderWorkspacesNotEqualIfDifferentProjections() {
RepositoryContext otherReposContext = mock(RepositoryContext.class);
stub(otherReposContext.getExecutionContext()).toReturn(context);
CachePolicy otherPolicy = mock(CachePolicy.class);
FederatedWorkspace other = new FederatedWorkspace(otherReposContext, sourceName, workspaceName,
projections.subList(0, 3), otherPolicy);
assertThat(workspace.equals(other), is(false));
}