@Test
public void dateConversionNotByConstructor() throws ParseException {

	final String dateStr = "2015-11-20T00:00:00+00:00";
	
	try {
		new Date(dateStr);
		fail("Should have throw IllegalArgumentException");
	} catch (IllegalArgumentException ignore) {}
	
	// new Date(dateStr) will throw IllegalArgumentException but our convert does not. 
	// so it does not use Constructor to convert date
	Object obj = converter.convertFromString(Date.class.getCanonicalName(), dateStr);
	assertNotNull(obj);
	assertTrue(obj instanceof Date);
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
	Date expectedDate = sdf.parse(dateStr.replaceFirst("\\+(0\\d)\\:(\\d{2})$", "+$1$2"));
	assertEquals(expectedDate, obj);
}