createSubClass(); try { $testInstance = $testClass->createInstanceWithProperties([ OntologyRdfs::RDFS_LABEL => '"hi"' ]); $testInstance->setPropertiesValues([ OntologyRdfs::RDFS_COMMENT => '"hi"' ]); $this->assertEquals($testInstance->getUniquePropertyValue(new core_kernel_classes_Property(OntologyRdfs::RDFS_LABEL)), "\"hi\""); } catch (DBALException $e) { $this->fail('SQL Error: ' . $e->getMessage()); } $testInstance->delete(); $generisClass->delete(); } }