@@ -0,0 +1,1316 @@
+package com.strider.datadefender.anonymizer.functions;%0A%0Aimport org.junit.jupiter.api.Test;%0Aimport static org.junit.jupiter.api.Assertions.*;%0A%0A/**%0A *%0A * @author Zaahid Bateson %3Czaahid.bateson@ubc.ca%3E%0A */%0Apublic class LipsumTest %7B%0A%0A    @Test%0A    public void testSentences() throws Exception %7B%0A        Lipsum test = new Lipsum();%0A        String sentences = test.sentences(3, 3);%0A        assertTrue(sentences.matches(%22(%5B%5E%5C%5C.%5D+%5C%5C.)%7B3%7D%22));%0A    %7D%0A%0A    @Test%0A    public void testParagraphs() throws Exception %7B%0A        Lipsum test = new Lipsum();%0A        String paragraphs = test.paragraphs(3);%0A        assertTrue(paragraphs.matches(%22%5E%5B%5E%5Cr%5D+%5Cr%5Cn%5Cr%5Cn%5B%5E%5Cr%5D+%5Cr%5Cn%5Cr%5Cn%5B%5E%5Cr%5D+$%22));%0A    %7D%0A%0A    @Test%0A    public void testSimilar() throws Exception %7B%0A        Lipsum test = new Lipsum();%0A%0A        String sentences = test.similar(%22This is a test.  It is excellent.  Should have a minimum of two sentences.%22);%0A        System.out.println(%22Testing for 3 sentences generated by similar text%22);%0A        assertTrue(sentences.matches(%22(%5B%5E%5C%5C.%5D+%5C%5C.)%7B2,%7D%22));%0A%0A        String paras = test.similar(%22This is also a test.%5Cn%5CnIt is better.%5Cn%5CnShould have three paragraphs.%22);%0A        System.out.println(%22Testing for 3 paragraphs generated by text with 3 paragraphs%22);%0A        assertTrue(paras.matches(%22%5E%5B%5E%5Cr%5D+%5Cr%5Cn%5Cr%5Cn%5B%5E%5Cr%5D+%5Cr%5Cn%5Cr%5Cn%5B%5E%5Cr%5D+$%22));%0A    %7D%0A%7D%0A

Add Lipsum class test