Code example for SequenceInputStream

0
	 * @tests SequenceInputStream#SequenceInputStream(java.io.InputStream, 
	 *        java.io.InputStream) 
	 */ 
	public void test_Constructor_LInputStreamLInputStream_Null() throws UnsupportedEncodingException {		 
		try { 
			si = new SequenceInputStream(null , null);
			fail("should throw NullPointerException");
		} catch (NullPointerException e) {
			//expected 
		} 
		 
		//will not throw NullPointerException if the first InputStream is not null 
		InputStream is = new ByteArrayInputStream(s1.getBytes("UTF-8")); 
		si = new SequenceInputStream(is , null);
	} 
 
	/** 
	 * @tests java.io.SequenceInputStream#SequenceInputStream(java.util.Enumeration) 
	 */ 
	@SuppressWarnings("unchecked") 
    public void test_ConstructorLjava_util_Enumeration() {