assertSame('Value X', $result->getValue()); } public function testIsOk() { $result = new ValidResult('X'); $this->assertTrue($result->isOk()); } }