WorkspaceManager wm = p.getWorkspaceManager();
Collection<WorkspaceInfo> workspaces = wm.getWorkspaces(null);
assertEquals(1, workspaces.size());
WorkspaceInfo w = workspaces.iterator().next();
assertNotNull(w);
assertEquals("Foo Workspace", w.getTitle(null));
Collection<CollectionInfo> collections = w.getCollections(null);
assertEquals(2, collections.size());
assertEquals(2, p.getFilters(null).length); // Parameter isn't used
}