use of twitter4j.auth.NullAuthorization in project twitter4j by yusuke.
the class AuthorizationTest method testAnonymousInstance.
public void testAnonymousInstance() throws Exception {
Twitter twitter = new TwitterFactory().getInstance();
Authorization auth = twitter.getAuthorization();
assertTrue(auth instanceof NullAuthorization);
}
Aggregations