List of usage examples for twitter4j TwitterObjectFactory createDirectMessage
public static DirectMessage createDirectMessage(String rawJSON) throws TwitterException
From source file:net.lacolaco.smileessence.util.TwitterMock.java
License:Open Source License
public DirectMessage getDirectMessageMock() throws IOException, TwitterException { return TwitterObjectFactory.createDirectMessage(getJson("directmessage.json")); }