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