final Long value = converter.toDatastoreType(date);
Date date2 = (Date) converter.toMemberType(value);
// necessary to use dateValue() because the Isis date (rather poorly) does not
// override equals() / hashCode()
assertThat(date.dateValue(), is(equalTo(date2.dateValue())));
}
@Test
public void toLong_whenNull() {
assertNull(converter.toDatastoreType(null));