public function createContextOfThetest()
 {
     // ----- Top Class : TaoSubject
     $subjectClass = new core_kernel_classes_Class('http://www.tao.lu/Ontologies/TAOSubject.rdf#Subject');
     // Create a new subject class for the unit test
     $this->targetSubjectClass = $subjectClass->createSubClass("Sub Subject Class (Unit Test)");
     // Add a custom property to the newly created class
     // Add an instance to this subject class
     $this->subject1 = $this->targetSubjectClass->createInstance("Sub Subject (Unit Test)");
     // Create a new subject sub class to the previous sub class
     $this->targetSubjectSubClass = $this->targetSubjectClass->createSubClass("Sub Sub Subject Class (Unit Test)");
     // Add an instance to this sub subject class
     $this->subject2 = $this->targetSubjectSubClass->createInstance("Sub Sub Subject (Unit Test)");
     // ----- Top Class : Work
     // Create a class and test its instances & properties.
     $this->taoClass = new core_kernel_classes_Class('http://www.tao.lu/Ontologies/TAO.rdf#TAOObject');
     $this->targetWorkClass = $this->taoClass->createSubClass('Work', 'The Work class');
     // Add properties to the Work class.
     $this->targetAuthorProperty = $this->targetWorkClass->createProperty('Author', 'The author of the work.');
     $literalClass = new core_kernel_classes_Class(RDFS_LITERAL);
     $this->targetAuthorProperty->setRange($literalClass);
     // Create the Movie class that extends the Work class.
     $this->targetMovieClass = $this->targetWorkClass->createSubClass('Movie', 'The Movie class');
     $this->targetMovieClass = new core_kernel_classes_Class($this->targetMovieClass->getUri());
     // Add properties to the Movie class.
     $this->targetProducerProperty = $this->targetMovieClass->createProperty('Producer', 'The producer of the movie.');
     $this->targetProducerProperty->setRange($literalClass);
     $this->targetProducerProperty->setMultiple(true);
     $this->targetActorsProperty = $this->targetMovieClass->createProperty('Actors', 'The actors playing in the movie.');
     $this->targetActorsProperty->setRange($literalClass);
     $this->targetActorsProperty->setMultiple(true);
     $this->targetRelatedMoviesProperty = $this->targetMovieClass->createProperty('Related Movies', 'Movies related to the movie.');
     $this->targetRelatedMoviesProperty->setRange($this->targetMovieClass);
     $this->targetRelatedMoviesProperty->setMultiple(true);
     //$this->generisUser = core_kernel_users_Service::singleton()->addUser('testCaseUser','testCasepass');
 }