assertEquals('', new Text('')); $this->assertEquals('foo', new Text('foo')); $this->assertEquals('foo', new Text('foo')); } public function testModification(): void { $text = new Text('foo'); $this->assertEquals('foo', $text->value()); $text->setValue('bar'); $this->assertEquals('bar', $text->value()); } }