/**
* @test
*/
public function setValidatorShouldProvideFluentInterfaceAndReallySetValidator()
{
$mockValidator = $this->createMock(ValidatorInterface::class);
$returnedArgument = $this->simpleValueArgument->setValidator($mockValidator);
$this->assertSame($this->simpleValueArgument, $returnedArgument, 'The returned argument is not the original argument.');
$this->assertSame($mockValidator, $this->simpleValueArgument->getValidator());
}