ISPN-2932 Verify that preloading a read only index in a cache will never...

... hit the cacheloader

https://issues.jboss.org/browse/ISPN-2932



Cool :)
Drawbacks: you'll be the first one introducing Byteman in Infinispan, you'll have to make some pom changes.
You can look into Hibernate Search for ideas, the tricky part is you need to get the tools.jar from the JDK on the boot classpath.

In all fairness, in this case an interceptor would be simpler. But introducing Byteman hopefully pays off for future additional tests.