public function testCanSetName() { $testForm = new Form(); $testForm->setName('testing'); $expected = "<form method='post' id='' name='testing' role='form' action='' class=''>" . PHP_EOL . "</form>" . PHP_EOL; $this->assertEquals($expected, $testForm->__toString(), "toString method failed."); }