function it_delegates_get(Component $component) { $component->get('foo')->shouldBeCalled(); $this->__get('foo'); }
/** * {@inheritDoc} */ public function __get($strKey) { return $this->component->get($strKey); }
function it_delegates_get(Component $component) { $component->get('foo')->shouldBeCalled(); $this->__get('foo'); }
/** * {@inheritDoc} */ public function __get($strKey) { return $this->component->get($strKey); }