@Override
    public Object removeVariable(String name) {
        if (variables.containsKey(name)) {
            return variables.remove(name);
        }

        if (parent != null) {
            return parent.removeVariable(name);
        }

        return null;
    }
@Test
    public void testRemoveVariable() {
        ProcessContextImpl context = new ProcessContextImpl();
        ProcessContextImpl parentContext = new ProcessContextImpl();
        parentContext.setVariable("key", "value");
        context.setParent(parentContext);
        context.setVariable("key1", "value1");
        context.removeVariable("key");
        context.removeVariable("key1");
        Assertions.assertEquals(0, context.getVariables().size());
    }