public function testUnknownComparator() { $constraint = $this->prophesize(Comparison::class); $constraint->getComparator()->willReturn('narf'); $constraint->getField()->willReturn('subject'); $this->visitor->visit($constraint->reveal()); }