public function testFieldHasNoNameAttribute() { $field = new LabelField('MyName', 'MyTitle'); $this->assertEquals(trim($field->Field()), '<label id="MyName" class="readonly">MyTitle</label>'); }
function testFieldHasNoNameAttribute() { $field = new LabelField('MyName', 'MyTitle'); $this->assertEquals($field->Field(), '<label id="MyName">MyTitle</label>'); }