public function testBoundObj() { $myObj = new myClass(); $Eventor = new Eventor($myObj); $this->assertTrue(get_class($Eventor->getBoundObj()) == get_class($myObj)); $myObjTwo = new myClassTwo(); $Eventor->setBoundObj($myObjTwo); $this->assertTrue(get_class($Eventor->getBoundObj()) == get_class($myObjTwo)); }