### Question:
KeyboardOperationEscapeGridCell extends BaseKeyboardOperation { @Override public boolean isExecutable(final GridWidget gridWidget) { return gridWidget instanceof BaseExpressionGrid; } KeyboardOperationEscapeGridCell(final GridLayer gridLayer); @Override int getKeyCode(); @Override boolean isExecutable(final GridWidget gridWidget); @Override boolean perform(final GridWidget gridWidget,
                           final boolean isShiftKeyDown,
                           final boolean isControlKeyDown);  }### Answer:
@Test public void testNonBaseExpressionGrid() { assertThat(operation.isExecutable(mock(GridWidget.class))) .as("Widget have to be BaseExpressionWidget instance") .isFalse(); }
@Test public void testBaseExpressionGrid() { assertThat(operation.isExecutable(mock(BaseExpressionGrid.class))) .as("Widget can be BaseExpressionWidget instance") .isTrue(); }