@Test
public void getDistanceTestPartialMatch() {

    String needle = "needle";
    String haystack = "ndle";
    Match match = levenshteinMatch(needle,haystack);
    assertThat(match.getDistance(), is(2));
}