public function testSingletonBinding()
 {
     $container = new Container();
     $obj = new StdClass();
     $closure = function () use($obj) {
         return $obj;
     };
     $container->singleton('closure', $closure);
     $this->assertSame($obj, $container['closure']);
 }