private function tryToMarkObjectAsComplete(FixtureInterface $fixture, ResolvedFixtureSet $set, GenerationContext $context): ResolvedFixtureSet
    {
        $object = $set->getObjects()->get($fixture);

        if ($object instanceof CompleteObject || false === $this->isObjectComplete($fixture, $set, $context)) {
            return $set;
        }

        return $set->withObjects(
            $set->getObjects()->with(
                new CompleteObject($object)
            )
        );
    }