public function test_singleton_instance() { $container = new Container(); $container->singleton('foo', 'Foo'); $this->assertSame($container->make('foo'), $container->make('foo')); }