public function testConstructor() { $this->assertInstanceOf('Pop\\Form\\Form', new Form('/submit', 'post')); $this->assertInstanceOf('Pop\\Form\\Form', Form::factory('/submit', 'post')); }