public function testIsValueEmpty() { $field = new InputField('field1', 'field1'); $this->assertEquals($field->isValueEmpty(), true, 'Null value'); $field->setValue(''); $this->assertEquals($field->isValueEmpty(), true, 'Empty string'); $field->setValue('test'); $this->assertEquals($field->isValueEmpty(), false, 'Non-empty string'); }