Exemplo n.º 1
0
 public function testCallHelper()
 {
     $helperBrokerMock = $this->getMock('Vmvc_HelperBroker', array('callAlias'));
     $helperBrokerMock->expects($this->once())->method('callAlias')->with($this->equalTo('test'), $this->equalTo(array()));
     $this->object->setHelperBroker($helperBrokerMock);
     $return = $this->object->__call('test', array());
 }