public function testIsFinal() { $class = new Class_('Foo', array('type' => Class_::MODIFIER_FINAL)); $this->assertTrue($class->isFinal()); $class = new Class_('Foo'); $this->assertFalse($class->isFinal()); }