public function testCanSetArrayOfEmptyAttributes() { $expected = "<input type='checkbox' disabled='disabled' required='required' checked='checked'>"; $input = new HTMLElement('input'); $input->setInputType('checkbox'); $input->setAttribute(['disabled', 'required', 'checked']); $this->assertEquals($expected, $input->getNode()); }