    @Test(threadPoolSize = 10, invocationCount = 10)
    public void wordWrapTest()
    {

        int df = rand.nextInt(9);

        String phrase = "Lorem ipsum dolorem si amet, lorem ipsum. Dolorem sic et nunc." + df;
        assertEquals(wordWrap(phrase, 2), "Lorem");
        assertEquals(wordWrap(phrase, 30), "Lorem ipsum dolorem si amet, lorem");
        assertEquals(wordWrap(phrase, phrase.length()), phrase);
        assertEquals(wordWrap(phrase, phrase.length() * 2), phrase);
        assertEquals(wordWrap(phrase, 0), "Lorem");
        assertEquals(wordWrap(phrase, -2), phrase);
    }