public function __construct() { $this->elementProperties = new ElementProperties(); $this->elementProperties->addAttribute("type", self::INPUT_TYPE); }
/** * @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); }