@Test
  public void testLinkTruncation() throws Exception {
    Twitter tt = TwitterTest.newTestTwitter();
    Status s = tt.getStatus(new BigInteger("154915377170747392"));
    List<TweetEntity> urls = s.getTweetEntities(KEntityType.urls);
    System.out.println(urls);
    System.out.println(s);
    assert !s.getText().contains("http://t.co ...");
    //				"RT @pozorvlak: Delighted to see Alan Bundy (@winterstein's PhD supervisor, IIRC) in the
    // New Year's Honour's list: http://soda.sh/xbE");

    BigInteger id = new BigInteger("154915015965683712");
    tt.setIncludeTweetEntities(true);
    Status s2 = tt.getStatus(id);
    System.out.println(s2);
    System.out.println(s2.getDisplayText());
    List<TweetEntity> urls2 = s2.getTweetEntities(KEntityType.urls);
    TweetEntity te = urls2 == null ? null : urls2.get(0); // this tweet-entity sucks too :(
    System.out.println(urls2);
    assert !s2.getText().contains("http://t.co ...");

    List<Status> joes = tt.getUserTimeline("joehalliwell");
    for (Status status : joes) {
      System.out.println(status);
    }
  }