@Test
public void testDoesRequireDehypenisation_withSpaceBefore_shouldReturnTrue() {

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