public function testTestCreateForRedundantUniqueValue()
{
$exception = InvalidArgumentExceptionFactory::createForRedundantUniqueValue('foo');
$this->assertEquals('Cannot create a unique value of a unique value for value "foo".', $exception->getMessage());
$this->assertEquals(0, $exception->getCode());
$this->assertNull($exception->getPrevious());
}