DefaultExecution implements Execution { @Override public void removeContext() { this.context.remove(); }  @Override void pushContext(ExecutionContext context); @Override void pushContext(ExecutionContext context, boolean inherit); @Override void popContext(); @Override ExecutionContext getContext(); @Override void setContext(ExecutionContext context); @Override void removeContext();  }
@Test void removeContext() { Execution execution = new DefaultExecution(); execution.pushContext(new ExecutionContext()); execution.pushContext(new ExecutionContext()); execution.pushContext(new ExecutionContext()); execution.removeContext(); assertNull(execution.getContext()); }