/** * @covers \Magento\Framework\Data\Form\Element\Text::getHtmlAttributes */ public function testGetHtmlAttributes() { $this->assertEmpty(array_diff(['type', 'title', 'class', 'style', 'onclick', 'onchange', 'onkeyup', 'disabled', 'readonly', 'maxlength', 'tabindex', 'placeholder'], $this->_model->getHtmlAttributes())); }