/** * @test */ public function createAStaticMethod() { $name = 'getFoo'; $method = new Stagehand_PHP_Class_Method($name); $this->assertEquals($method->getName(), $name); $this->assertFalse($method->isStatic()); $method->defineStatic(); $this->assertTrue($method->isStatic()); }