public function testFactory() { $this->assertInstanceOf('Pop\\Code\\Generator\\MethodGenerator', MethodGenerator::factory('testMethod')); }