public function testIsAbstract() { $class = new Class_('Foo', array('type' => Class_::MODIFIER_ABSTRACT)); $this->assertTrue($class->isAbstract()); $class = new Class_('Foo'); $this->assertFalse($class->isAbstract()); }