DocumentCollectionVariableIndexer implements ProcessVariableIndexer { @Override public boolean accept(Object variable) { return variable instanceof DocumentCollection; }  @Override boolean accept(Object variable); @Override List<VariableInstanceLog> index(String name, Object variable);  }
@Test public void testAccept() { assertFalse(indexer.accept("A String")); assertFalse(indexer.accept(57)); assertFalse(indexer.accept(Boolean.FALSE)); assertFalse(indexer.accept(null)); assertTrue(indexer.accept(new Documents())); }