public function testCanDynamicallyCreateInputTypes() { $input1 = Input::create('text', 'foo', 'bar'); $input2 = Input::text('foo', 'bar'); $matcher = $this->getInputMatcher('text', 'foo', 'bar'); $this->assertEquals($input1, $input2); $this->assertHTML($matcher, $input2); }