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);
Repository repository2 = mock(Repository.class);
stub(jcrSession2.getWorkspace()).toReturn(workspace2);
stub(jcrSession2.getRepository()).toReturn(repository2);
stub(workspace2.getName()).toReturn("workspace1");
// Use the same id and location; use 'Nissan Altima'