@Test
public void testTimeWriteToCache() {

	String[] input = new String[]{"2001-07-01T01:01:01Z", "2002-07-15T01:01:01Z"};
	Time bean = null;
	try {
		bean = new Time(input);
	} catch (ParseException ex) {
		fail(ex.getMessage());
	}
	CacheIdentifier cacheId = null;
	try {
		cacheId = new ResponseCache.CacheIdentifier("https://not-a-r-eal-url.gov", ResponseCache.CacheIdentifier.CacheType.TIME_RANGE, "Dummy cache data");
		boolean didWrite = bean.writeToCache(cacheId);
		assertTrue(didWrite);
	} finally {
		if (cacheId != null) {
			try {
				FileUtils.deleteQuietly(cacheId.getFile());
			} catch (IOException ex) {
				// Not handled
			}
		}
	}
}