/** * @covers \Magento\Framework\Data\Form\Element\Checkbox::getHtmlAttributes */ public function testGetHtmlAttributes() { $this->assertEmpty(array_diff(array('type', 'title', 'class', 'style', 'checked', 'onclick', 'onchange', 'disabled', 'tabindex'), $this->_model->getHtmlAttributes())); }