/** * @dataProvider providerKeyXpath */ public function testCreateCheckboxShouldReturnCheckboxDomElementWithKeyAndXpathAttributes($key, $xpath) { $page = new Page(); $this->_assertElement('checkbox', $key, $xpath, $page->createCheckbox($key, $xpath)); }