예제 #1
0
 public function __construct()
 {
     $this->elementProperties = new ElementProperties();
     $this->elementProperties->addAttribute("type", self::INPUT_TYPE);
 }
예제 #2
0
 /**
  * @covers ElementProperties::addClass
  * @covers ElementProperties::render
  */
 public function testRender()
 {
     $this->object->addClass("test_style_class");
     $result = $this->object->render();
     $this->assertEquals(' class="test_style_class"', $result);
 }