@Test
public void shouldReturnContentsOfDateIfAllOkay() throws SQLException {

    DATE dt = mock(DATE.class);
    when(dt.timestampValue()).thenReturn(new Timestamp(0l));
    assertEquals(new Timestamp(0l), new OracleDateNormaliser().transform(dt));
}