public function testSanitization() { $this->object->sanitizer(new TestSanitizer()); $this->object->setValue("desrever"); $this->assertEquals("reversed", $this->object->value()); }