@Test public void executeNoColumn() { gridColumnMock = null; commandSpy.execute(scenarioSimulationContextLocal); verify((SetInstanceHeaderCommand) commandSpy, never()).executeIfSelectedColumn(scenarioSimulationContextLocal, gridColumnMock); }
@Override protected void executeIfSelectedColumn(ScenarioSimulationContext context, ScenarioGridColumn selectedColumn) { setInstanceHeader(context, selectedColumn, context.getStatus().getClassName(), getFullPackage(context) + context.getStatus().getClassName()); }
SetInstanceHeaderCommand extends AbstractSelectedColumnCommand { @Override protected void executeIfSelectedColumn(ScenarioSimulationContext context, ScenarioGridColumn selectedColumn) { setInstanceHeader(context, selectedColumn, context.getStatus().getClassName(), getFullPackage(context) + context.getStatus().getClassName()); } }
SetInstanceHeaderCommand extends AbstractSelectedColumnCommand { @Override protected void executeIfSelectedColumn(ScenarioSimulationContext context, ScenarioGridColumn selectedColumn) { setInstanceHeader(context, selectedColumn, context.getStatus().getClassName(), getFullPackage(context) + context.getStatus().getClassName()); } SetInstanceHeaderCommand(GridWidget gridWidget); private  SetInstanceHeaderCommand(); }
SetInstanceHeaderCommand extends AbstractSelectedColumnCommand { @Override protected void executeIfSelectedColumn(ScenarioSimulationContext context, ScenarioGridColumn selectedColumn) { setInstanceHeader(context, selectedColumn, context.getStatus().getClassName(), getFullPackage(context) + context.getStatus().getClassName()); } SetInstanceHeaderCommand(GridWidget gridWidget); private  SetInstanceHeaderCommand();  }
SetInstanceHeaderCommand extends AbstractSelectedColumnCommand { @Override protected void executeIfSelectedColumn(ScenarioSimulationContext context, ScenarioGridColumn selectedColumn) { setInstanceHeader(context, selectedColumn, context.getStatus().getClassName(), getFullPackage(context) + context.getStatus().getClassName()); } SetInstanceHeaderCommand(GridWidget gridWidget); private  SetInstanceHeaderCommand();   }