diff --git a/tests/Container/ContainerTest.php b/tests/Container/ContainerTest.php index 53cf9b6713a..1c8d977c1c4 100755 --- a/tests/Container/ContainerTest.php +++ b/tests/Container/ContainerTest.php @@ -474,6 +474,17 @@ public function testResolvedResolvesAliasToBindingNameBeforeChecking() $this->assertTrue($container->resolved('foo')); } + public function testResolvedInstances() + { + $container = new Container; + $container->instance('ConcreteStub', function() { + // + }); + $container->make('ConcreteStub'); + + $this->assertTrue($container->resolved('ConcreteStub')); + } + public function testGetAlias() { $container = new Container;