Code example for SequenceInputStream

	 * Sets up the fixture, for example, open a network connection. This method 
	 * is called before a test is executed. 
	protected void setUp() throws UnsupportedEncodingException { 
		si = new SequenceInputStream(new ByteArrayInputStream(s1.getBytes("UTF-8")),
				new ByteArrayInputStream(s2.getBytes("UTF-8")));
	 * Tears down the fixture, for example, close a network connection. This 
	 * method is called after a test is executed. 
	protected void tearDown() { 
Experience pair programming with AI  Get Codota for Java