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();   }
@Test public void executeNoColumn() { gridColumnMock = null; commandSpy.execute(scenarioSimulationContextLocal); verify((SetInstanceHeaderCommand) commandSpy, never()).executeIfSelectedColumn(scenarioSimulationContextLocal, gridColumnMock); }