DMNContextFEELCtxWrapper implements DMNContext { @Override public void pushScope(String name, String namespace) { throw new UnsupportedOperationException(); } DMNContextFEELCtxWrapper(EvaluationContext wrapped);  DMNContextFEELCtxWrapper(EvaluationContext wrapped, Map<String, Object> metadata); void enterFrame(); void exitFrame(); @Override Object set(String name, Object value); @Override Object get(String name); @Override Map<String, Object> getAll(); @Override boolean isDefined(String name); @Override DMNMetadata getMetadata(); @Override DMNContext clone(); @Override void pushScope(String name, String namespace); @Override void popScope(); @Override Optional<String> scopeNamespace();  }
@Test(expected = UnsupportedOperationException.class) public void testPushScopeException() { DMNContextFEELCtxWrapper ctx = new DMNContextFEELCtxWrapper(new EvaluationContextMock(Collections.emptyMap())); ctx.pushScope("scopeName", "scopeNamespace"); }