void () { Key<String> key = Key.create("abc"); final ProcessingContext context = new ProcessingContext(); assertFalse(string().contains("abc").save(key).accepts(null)); assertNull(context.get(key)); assertFalse(string().contains("abc").save(key).accepts("def")); assertNull(context.get(key)); final String s = "defabcdef"; assertTrue(string().contains("abc").save(key).accepts(s, context)); assertSame(s, context.get(key)); }