public function testWithersReturnNewModifiedInstance()
{
$reference = 'user0';
$className = 'Nelmio\\Alice\\Entity\\User';
$specs = SpecificationBagFactory::create();
$newSpecs = SpecificationBagFactory::create(new DummyMethodCall('dummy'));
$fixture = new SimpleFixture($reference, $className, $specs);
$newFixture = $fixture->withSpecs($newSpecs);
$this->assertInstanceOf(SimpleFixture::class, $newFixture);
$this->assertNotSame($fixture, $newFixture);
$this->assertEquals($specs, $fixture->getSpecs());
$this->assertEquals($newSpecs, $newFixture->getSpecs());
}