/** * Test set/get width */ public function testSetGetWidth() { $expected = 200; $object = new TextBox(); $object->setWidth($expected); $this->assertEquals($expected, $object->getWidth()); }