*/
@Test
public void testGetWorkspaces() {
if(!enabled()) return;
RESTWorkspaceList wslist = reader.getWorkspaces();
assertNotNull(wslist);
// assertEquals(7, wslist.size()); // value in default gs installation
System.out.println("Workspaces:" + wslist.size());
System.out.print("Workspaces:");
for (RESTWorkspaceList.RESTShortWorkspace ws : wslist) {
System.out.print(ws.getName() + " ");
}
System.out.println();
assertEquals(wslist.size(), reader.getWorkspaceNames().size());
}