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