@Test
public void whenNotExplicitlyRestfulEntityUseDefaultEtagAndLastModified() {

	CacheableOrder cacheable = new CacheableOrder();
	Calendar date = Calendar.getInstance();
	when(defaults.getLastModifiedFor(cacheable)).thenReturn(date);
	when(defaults.getEtagFor(cacheable)).thenReturn("custom etag");
	handler.handle(cacheable);
	verify(response).addHeader("ETag", "custom etag");
	verify(response).setDateHeader("Last-modified", date.getTimeInMillis());
}