@Test (expected=NullPointerException.class)
public void toString_format_nullformat() throws ParseException {

	Date input =  new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").parse("2011/05/12 12:45:27");
	assertEquals(null, DateUtils.toString(input, null));
}