assertNotSame(ps, cache.getCached(callKey));
CallableStatement cs = prepareCall(sql);
// No entry should exists yet.
assertNull(cache.getCached(callKey));
// New callable statements should be inserted.
assertTrue(cache.cacheStatement(callKey, cs));
// Make sure we get the same object back.
assertSame(cs, cache.getCached(callKey));
// Make sure we don't get a callable when we ask for a prepared.
assertNotSame(cs, cache.getCached(key));
}