public function testSetIsAbstract() { $method = new PhpMethod(); $this->assertFalse($method->isAbstract()); $this->assertSame($method, $method->setAbstract(true)); $this->assertTrue($method->isAbstract()); $this->assertSame($method, $method->setAbstract(false)); $this->assertFalse($method->isAbstract()); }