@Test
public void testDoesRequireDehypenisation_withSpacesAfter_shouldReturnTrue() {

    List<LayoutToken> tokens = GrobidDefaultAnalyzer.getInstance().tokenizeWithLayoutToken("This is a sample dehypen-   \n    yzation text");
    assertThat(TextUtilities.doesRequireDehypenisation(tokens, 9), is(true));
}