@Test public void testEmptyContext() { MapBackedDMNContext ctx1 = MapBackedDMNContext.of(new HashMap<>(Collections.emptyMap())); testCloneAndAlter(ctx1, Collections.emptyMap(), Collections.emptyMap()); MapBackedDMNContext ctx2 = MapBackedDMNContext.of(new HashMap<>(Collections.emptyMap())); testPushAndPopScope(ctx2, Collections.emptyMap(), Collections.emptyMap()); }
public static MapBackedDMNContext of(Map<String, Object> ctx) { return new MapBackedDMNContext(ctx); }
MapBackedDMNContext implements DMNContext { public static MapBackedDMNContext of(Map<String, Object> ctx) { return new MapBackedDMNContext(ctx); } }
MapBackedDMNContext implements DMNContext { public static MapBackedDMNContext of(Map<String, Object> ctx) { return new MapBackedDMNContext(ctx); } private  MapBackedDMNContext(); private  MapBackedDMNContext(Map<String, Object> ctx); private  MapBackedDMNContext(Map<String, Object> ctx, Map<String, Object> metadata); }
MapBackedDMNContext implements DMNContext { public static MapBackedDMNContext of(Map<String, Object> ctx) { return new MapBackedDMNContext(ctx); } private  MapBackedDMNContext(); private  MapBackedDMNContext(Map<String, Object> ctx); private  MapBackedDMNContext(Map<String, Object> ctx, Map<String, Object> metadata); static MapBackedDMNContext of(Map<String, Object> ctx); static MapBackedDMNContext of(Map<String, Object> ctx, Map<String, Object> metadata); @Override DMNContext clone(); @Override Object set(String name, Object value); @Override Object get(String name); @Override void pushScope(String name, String namespace); @Override void popScope(); @Override Optional<String> scopeNamespace(); @Override Map<String, Object> getAll(); @Override boolean isDefined(String name); @Override DMNMetadata getMetadata(); }
MapBackedDMNContext implements DMNContext { public static MapBackedDMNContext of(Map<String, Object> ctx) { return new MapBackedDMNContext(ctx); } private  MapBackedDMNContext(); private  MapBackedDMNContext(Map<String, Object> ctx); private  MapBackedDMNContext(Map<String, Object> ctx, Map<String, Object> metadata); static MapBackedDMNContext of(Map<String, Object> ctx); static MapBackedDMNContext of(Map<String, Object> ctx, Map<String, Object> metadata); @Override DMNContext clone(); @Override Object set(String name, Object value); @Override Object get(String name); @Override void pushScope(String name, String namespace); @Override void popScope(); @Override Optional<String> scopeNamespace(); @Override Map<String, Object> getAll(); @Override boolean isDefined(String name); @Override DMNMetadata getMetadata();  }