use of com.adaptris.core.services.cache.CacheEntryEvaluator.NullCacheValueTranslator in project interlok by adaptris.
the class CacheEntryEvaluatorTest method testNullCacheValueTranslator.
@Test
public void testNullCacheValueTranslator() throws Exception {
NullCacheValueTranslator cvt = new CacheEntryEvaluator.NullCacheValueTranslator();
assertNull(cvt.getValueFromMessage(createMessage(Collections.EMPTY_SET)));
cvt.addValueToMessage(createMessage(Collections.EMPTY_SET), null);
}
Aggregations