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