function it_delegates_set(Component $component) { $component->set('foo', 'bar')->shouldBeCalled(); $this->__set('foo', 'bar'); }
/** * {@inheritDoc} */ public function __set($strKey, $varValue) { $this->component->set($strKey, $varValue); }
function it_delegates_set(Component $component) { $component->set('foo', 'bar')->shouldBeCalled(); $this->__set('foo', 'bar'); }
/** * {@inheritDoc} */ public function __set($strKey, $varValue) { $this->component->set($strKey, $varValue); }