function it_delegates_get_model(Component $component) { $component->getModel()->shouldBeCalled(); $this->getModel('foo'); }
/** * {@inheritDoc} */ public function getModel() { return $this->component->getModel(); }
function it_delegates_get_model(Component $component) { $component->getModel()->shouldBeCalled(); $this->getModel('foo'); }
/** * {@inheritDoc} */ public function getModel() { return $this->component->getModel(); }