Beispiel #1
0
 public function testAuthorisationFailureWithUsernameAndNoAccessToken()
 {
     $this->setExpectedException('ZendService\\Twitter\\Exception\\ExceptionInterface');
     $twitter = new Twitter\Twitter(array('username' => 'me'));
     $twitter->statusesPublicTimeline();
 }