import java.io.IOException;
import java.io.InputStream;
+import java.util.Arrays;
import java.util.List;
import junit.framework.AssertionFailedError;
try {
assertEquals(extractor1.getFooterText(), extractor2.getFooterText());
assertEquals(extractor1.getHeaderText(), extractor2.getHeaderText());
- assertEquals(extractor1.getParagraphText(), extractor2.getParagraphText());
+ assertEquals( Arrays.toString( extractor1.getParagraphText() ),
+ Arrays.toString( extractor2.getParagraphText() ) );
assertEquals(extractor1.getText(), extractor2.getText());