Beispiel #1
0
 /**
  * @covers PsUtil::assertClassExists
  * @todo   Implement testAssertClassExists().
  */
 public function testAssertClassExists()
 {
     PsUtil::assertClassExists(ClassA::get__CLASS__());
     try {
         PsUtil::assertClassExists(self::NOT_ALLOWED_STR);
         $this->fail('Exception is expected');
     } catch (PException $ex) {
         //OK
     }
 }