public function testGetItemLazyLoad() { $c = new Container(); $c->foo = function () { return 'ok'; }; $this->assertEquals('ok', $c->getItem('foo', false)); }