/** * Test the Form::getName method. * * @return void */ public function testGetName() { $form = new Form('form1'); $this->assertThat($form->getName(), $this->equalTo('form1'), 'Line:' . __LINE__ . ' The form name should agree with the argument passed in the constructor.'); }