new OracleSerialClobNormaliser().normalise("Any Old Object");
}
@Test
public void shouldThrowCorrectExceptionIfClobIsLargerThanMaximum() throws SQLException {
OracleSerialClob clob = mock(OracleSerialClob.class);
when(clob.length()).thenReturn(10001l);
expectedEx.expect(UnsupportedOperationException.class);
expectedEx.expectMessage("Clobs larger than 10000 bytes are not supported by DBFIT");
new OracleSerialClobNormaliser().normalise(clob);
}