@Test
public void urlIsCorrect() {

    String url = "http://www.novoda.com";
    int start = 0;
    int end = url.length();
    MatchedUrl expectedMatchedUrl = new MatchedUrl(url, start, end);
    String fullString = url + " is a great url!";
    List<MatchedUrl> urls = finder.findUrlsIn(fullString);
    MatchedUrl matchedUrl = urls.get(0);
    assertThat(matchedUrl).isEqualTo(expectedMatchedUrl);
}