private void invokeProcessorThrowsException(
Method m, final MutableConfiguration<String, List<Integer>> jcacheCfg,
final List<Integer> expectedValue) {
final String name = getName(m);
withCachingProvider(new JCacheRunnable() {
@Override
public void run(CachingProvider provider) {
CacheManager cm = provider.getCacheManager();
Cache<String, List<Integer>> cache = cm.createCache(name, jcacheCfg);
List<Integer> list = new ArrayList<Integer>(Arrays.asList(1, 2, 3));