@Test
public void testException() {

	try {
    	TypeInfoParser.parse("THIS_CLASS_DOES_NOT_EXIST");
		Assert.fail("exception expected");
	} catch (IllegalArgumentException e) {
		// right
	}
	
	try {
    	TypeInfoParser.parse("Tuple2<Integer>");
		Assert.fail("exception expected");
	} catch (IllegalArgumentException e) {
		// right
	}
	
	try {
    	TypeInfoParser.parse("Tuple3<Integer,,>");
		Assert.fail("exception expected");
	} catch (IllegalArgumentException e) {
		// right
	}
	
	try {
    	TypeInfoParser.parse("Tuple1<Integer,Double>");
		Assert.fail("exception expected");
	} catch (IllegalArgumentException e) {
		// right
	}
}