/** * @covers Button::__construct */ public function test__construct() { $this->button = new \Button("Office Name"); $this->assertSame("button", $this->button->getType()); }
/** * @covers Xoops\Form\Button::getType */ public function testGetType() { $value = $this->object->getType(); $this->assertSame('button', $value); }