### Question:
Memory implements VectorDriver<MemWorkspace>, RasterDriver<MemWorkspace> { @Override public String name() { return "Memory"; }  static MemWorkspace open(String name); @Override boolean isEnabled(Messages messages); @Override String name(); @Override List<String> aliases(); @Override Class<MemWorkspace> type(); @Override String family(); @Override List<Key<?>> keys(); @Override boolean canOpen(Map<?, Object> opts, Messages messages); @Override MemWorkspace open(Map<?, Object> opts); @Override boolean canCreate(Map<?, Object> opts, Messages msgs); @Override MemWorkspace create(Map<?, Object> opts, Schema schema); @Override Set<Capability> capabilities(); static final Key<String> NAME; }### Answer:
@Test public void testLayers() throws IOException { assertTrue(Iterables.any(mem.list(), new Predicate<Handle<Dataset>>() { @Override public boolean apply(Handle<Dataset> h) { return "widgets".equals(h.name()); } })); }