*/
@Test
public void testGetNamespaces() {
if(!enabled()) return;
RESTNamespaceList result = reader.getNamespaces();
List<String> names = reader.getNamespaceNames();
assertNotNull(result);
// assertEquals(7, result.size()); // value in default gs installation
assertNotNull(names);
assertEquals(names.size(), result.size()); // value in default gs installation
System.out.println("Namespaces:" + result.size());
System.out.print("Namespaces:" );
int namesIdx = 0;
for (RESTNamespaceList.RESTShortNamespace ns : result) {
assertEquals("namespace mismatch", names.get(namesIdx++), ns.getName());
System.out.print(ns.getName() + " " );