public function testThrowsAnExceptionIfAReferenceMismatchIsFound() { new ObjectBag(['foo' => new CompleteObject(new SimpleObject('bar', new \stdClass()))]); }