public void testActivationOnPut(Method m) throws Exception {
assertActivationCount(0);
assert cache.get(k(m)) == null;
assertActivationCount(0);
loader.write(new MarshalledEntryImpl(k(m), v(m), null, marshaller()));
assert loader.contains(k(m));
cache.put(k(m), v(m, 2));
assert cache.get(k(m)).equals(v(m, 2));
assertActivationCount(1);
assert !loader.contains(k(m)) : "this should only be persisted on evict";