package net.mollywhite.mbta.client;

import org.junit.Test;

import static org.junit.Assert.*;

public class TweetDetailsTest {

  @Test
  public void testGet() throws Exception {

  }
}

@@ -41,91 +41,617 @@
 ort 
-org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class TweetDetailsTest %7B
+com.fasterxml.jackson.databind.DeserializationFeature;%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport net.mollywhite.mbta.api.Line;%0Aimport net.mollywhite.mbta.api.Station;%0Aimport net.mollywhite.mbta.api.Tweet;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static io.dropwizard.testing.FixtureHelpers.fixture;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Apublic class TweetDetailsTest %7B%0A  private ObjectMapper mapper;%0A%0A  @Before%0A  public void setUp() throws Exception %7B%0A    mapper = new ObjectMapper().configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);%0A  %7D
 %0A%0A  
@@ -677,16 +677,23 @@
  testGet
+ReplyTo
 () throw
@@ -706,15 +706,794 @@
 ption %7B%0A
+    final Tweet tweet = mapper.readValue(fixture(%22fixtures/TweetWithReplyToFixture.json%22), Tweet.class);%0A    final TweetDetails tweetDetails = new TweetDetails(tweet).get();%0A    assertThat(tweetDetails.getLines()).isEmpty();%0A    assertThat(tweetDetails.getBranches()).isEmpty();%0A    assertThat(tweetDetails.getStations()).isEmpty();%0A  %7D%0A%0A  @Test%0A  public void testRetweet() throws Exception %7B%0A    final Tweet tweet = mapper.readValue(fixture(%22fixtures/RetweetFixture.json%22), Tweet.class);%0A    final TweetDetails tweetDetails = new TweetDetails(tweet).get();%0A    assertThat(tweetDetails.getLines()).containsExactly(Line.ORANGE);%0A    assertThat(tweetDetails.getBranches()).isEmpty();%0A    assertThat(tweetDetails.getStations()).containsExactly(Station.WELLINGTON, Station.OAKGROVE);
 %0A  %7D%0A%7D%0A

Add TweetDetails test