### Question:
ClearGraphCommand extends AbstractGraphCommand { @Override public CommandResult<RuleViolation> undo(final GraphCommandExecutionContext context) { throw new UnsupportedOperationException("Undo operation for Clear Graph Command is still not supported. "); } ClearGraphCommand(final @MapsTo("rootUUID") String rootUUID); @Override @SuppressWarnings("unchecked") CommandResult<RuleViolation> execute(final GraphCommandExecutionContext context); @Override CommandResult<RuleViolation> undo(final GraphCommandExecutionContext context); String getRootUUID(); @Override String toString();  }### Answer:
@Test(expected = UnsupportedOperationException.class) public void testUndo() { tested.undo(graphCommandExecutionContext); }