@Test public void testBaseGridWhenOnlyVisualChangeAllowed() { when(gridWidget.isOnlyVisualChangeAllowed()).thenReturn(true); assertThat(DynamicReadOnlyUtils.isOnlyVisualChangeAllowed(gridWidget)).isTrue(); }
public static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget) { if (gridWidget instanceof BaseGrid) { final BaseGrid baseGrid = (BaseGrid) gridWidget; return baseGrid.isOnlyVisualChangeAllowed(); } return false; }
DynamicReadOnlyUtils { public static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget) { if (gridWidget instanceof BaseGrid) { final BaseGrid baseGrid = (BaseGrid) gridWidget; return baseGrid.isOnlyVisualChangeAllowed(); } return false; } }
DynamicReadOnlyUtils { public static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget) { if (gridWidget instanceof BaseGrid) { final BaseGrid baseGrid = (BaseGrid) gridWidget; return baseGrid.isOnlyVisualChangeAllowed(); } return false; }  }
DynamicReadOnlyUtils { public static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget) { if (gridWidget instanceof BaseGrid) { final BaseGrid baseGrid = (BaseGrid) gridWidget; return baseGrid.isOnlyVisualChangeAllowed(); } return false; }  static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget); }
DynamicReadOnlyUtils { public static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget) { if (gridWidget instanceof BaseGrid) { final BaseGrid baseGrid = (BaseGrid) gridWidget; return baseGrid.isOnlyVisualChangeAllowed(); } return false; }  static boolean isOnlyVisualChangeAllowed(final GridWidget gridWidget);  }