Exemplo n.º 1
0
 /**
  * @expectedException \Zend\Service\Twitter\Exception
  */
 public function testOverloadingGetShouldthrowExceptionWithInvalidFunction()
 {
     $twitter = new Service\Twitter();
     $return = $twitter->foo();
 }
Exemplo n.º 2
0
 public function testOverloadingGetShouldthrowExceptionWithInvalidFunction()
 {
     $this->setExpectedException('Zend\\Service\\Twitter\\Exception');
     $twitter = new Service\Twitter();
     $return = $twitter->foo();
 }