public function testSetInputAttribute() { $input = new \Gajus\Dora\Input('test', ['data-foo' => 'bar']); $this->assertSame('bar', $input->getAttribute('data-foo')); }