### Question:
AbstractOperationPM extends AbstractPM implements IOperationPM { public abstract boolean execute() throws Throwable; protected  AbstractOperationPM(); void setIcon(Icon newIcon); Icon getIcon(); void setIconUrl(URL url); String getTitle(); void setTitle(String title); String getDescription(); void setDescription(String description); abstract boolean execute(); boolean isEnabled(); void check();  }### Answer:
@Test public void execute() throws Throwable { final boolean[] didInvoke = new boolean[1]; AbstractOperationPM op = new AbstractOperationPM() { public boolean execute() { didInvoke[0] = true; return true; } }; op.execute(); assertEquals("didInvoke[0]", true, didInvoke[0]); }