OCCatalogSelection selection = manager.select();
selection.next();
OCCatalogRef ref = selection.getRef();
OCVariant var = new OCVariant(ref);
OCCatalogObject ocObj = var.value(OCCatalogObject.class);
assertTrue(ocObj instanceof OCCatalogObject);
OCVariant var2 = new OCVariant(ocObj);
assertTrue(var2.value(OCCatalogRef.class) instanceof OCCatalogRef);
}