Assert.assertNotNull(activeContext);
Assert.assertEquals(activeContext.getReportDefinition(), element);
CrosstabGroup crosstabGroup = new CrosstabGroup();
EditCrosstabAction action = new NonEditingCrosstabAction(crosstabGroup);
action.setReportDesignerContext(rdc);
action.actionPerformed(new ActionEvent(this, ActionEvent.ACTION_PERFORMED, "Edit"));
Assert.assertFalse(rdc.getActiveContext().getUndo().isRedoPossible());
Assert.assertTrue(rdc.getActiveContext().getUndo().isUndoPossible());
Assert.assertEquals(crosstabGroup.getObjectID(), element.getRootGroup().getBody().getGroup().getObjectID());
rdc.getActiveContext().getUndo().undo(rdc.getActiveContext());