예제 #1
0
 public function testAuthorisationFailureWithUsernameAndNoAccessToken()
 {
     $this->setExpectedException('Zend_Service_Twitter_Exception');
     $twitter = new Zend_Service_Twitter(array('username' => 'me'));
     $twitter->statusesPublicTimeline();
 }