@Test
public void shouldReturnContentsOfClobIFAllOkay() throws SQLException {

    Clob clob = mock(Clob.class);
    when(clob.length()).thenReturn(Long.valueOf("CLOB contents".length()));
    when(clob.getSubString(eq(1l), eq(10000))).thenReturn("CLOB contents");
    // can't do this as we don't fill up the passed buffer
    // assertEquals("CLOB contents", new OracleClobNormaliser().normalise(clob));
    new OracleClobNormaliser().transform(clob);
}