@Test
public void shouldReturnContentsOfClobIFAllOkay() throws SQLException {

    OracleSerialClob clob = mock(OracleSerialClob.class);
    when(clob.length()).thenReturn(Long.valueOf("CLOB contents".length()));
    when(clob.getSubString(1l, "CLOB contents".length())).thenReturn("CLOB contents");
    assertEquals("CLOB contents", new OracleSerialClobNormaliser().transform(clob));
}