WorkspaceProject implements Cacheable { @Override public boolean requiresRefresh() { return requiresRefresh; } WorkspaceProject();  WorkspaceProject(final OrganizationalUnit organizationalUnit,
                            final Repository repository,
                            final Branch branch,
                            final Module mainModule); OrganizationalUnit getOrganizationalUnit(); Repository getRepository(); Branch getBranch(); Module getMainModule(); String getEncodedIdentifier(); @Override boolean requiresRefresh(); String getName(); @Override void markAsCached(); Path getRootPath(); Space getSpace(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void requiresRefresh() { final WorkspaceProject workspaceProject = new WorkspaceProject(mock(OrganizationalUnit.class), mock(Repository.class), mock(Branch.class), mock(Module.class)); assertTrue(workspaceProject.requiresRefresh()); workspaceProject.markAsCached(); assertFalse(workspaceProject.requiresRefresh()); }