public function testThrowsExceptionWhenTryingToGetInexistingObject() { $bag = new ObjectBag(); $bag->get($this->createFixture('foo', 'Dummy')); }