예제 #1
0
파일: Object.php 프로젝트: reoring/sabel
 public function testReflection()
 {
     $obj = new TestObject();
     $reflection = $obj->getReflection();
     $this->assertTrue($reflection instanceof ReflectionClass);
     $this->assertTrue($reflection instanceof Sabel_Reflection_Class);
     $this->assertEquals("TestObject", $reflection->getName());
     $this->assertTrue($reflection->hasMethod("hoge"));
 }