@Test
public void shouldReturnTrueFromIsSameIfTheNodeUuidAndWorkspaceNameAndRepositoryInstanceAreSame() throws Exception {
// Set up the store ...
InMemoryRepositorySource source2 = new InMemoryRepositorySource();
source2.setName("store");
Graph store2 = Graph.create(source2, context);
store2.importXmlFrom(AbstractJcrTest.class.getClassLoader().getResourceAsStream("cars.xml")).into("/");
JcrSession jcrSession2 = mock(JcrSession.class);
stub(jcrSession2.nodeTypeManager()).toReturn(nodeTypes);
SessionCache cache2 = new SessionCache(jcrSession2, store2.getCurrentWorkspaceName(), context, nodeTypes, store2);
Workspace workspace2 = mock(Workspace.class);
stub(jcrSession2.getWorkspace()).toReturn(workspace2);
stub(jcrSession2.getRepository()).toReturn(repository);
stub(workspace2.getName()).toReturn("workspace1");