/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.hemju.biborder; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.StringReader; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; /** * * @author Helmut Juskewycz, */ public class FirstOrderTest { //private FirstOrder fo = new FirstOrder(); private static final String SHORT_TEST_STRING = "This is a test with [ brackets [12] so that] I can see[sdf] if everything works [123][23] correctly."; /** * Test of order method, of class FirstOrder. */ @Test public void testOrder() throws IOException { ByteArrayInputStream is = new ByteArrayInputStream(SHORT_TEST_STRING.getBytes()); // fo.order(is, System.out); is.close(); assertTrue(true); } }