public function testAddsObjectToFixtureSet()
{
$object = new SimpleObject('dummy', new \stdClass());
$set = ResolvedFixtureSetFactory::create(null, $fixtures = (new FixtureBag())->with(new SimpleFixture('dummy', \stdClass::class, new SpecificationBag(null, new PropertyBag(), new MethodCallBag()))));
$expected = new ResolvedFixtureSet(new ParameterBag(), $fixtures, new ObjectBag(['dummy' => $object]));
$hydrator = new SimpleHydrator(new FakePropertyHydrator(), new FakeValueResolver());
$actual = $hydrator->hydrate($object, $set, new GenerationContext());
$this->assertEquals($expected, $actual);
}