ActionInsertFactWrapper implements ActionWrapper { @Override public ActionInsertFactCol52 getActionCol52() { return actionCol52; } ActionInsertFactWrapper(final BaseDecisionTableColumnPlugin plugin,
                                   final ActionInsertFactCol52 actionCol52);  ActionInsertFactWrapper(final BaseDecisionTableColumnPlugin plugin); @Override boolean isHideColumn(); @Override void setHideColumn(final boolean hideColumn); @Override boolean isInsertLogical(); @Override void setInsertLogical(final boolean insertLogical); @Override boolean isUpdateEngine(); @Override void setUpdate(boolean update); @Override DTCellValue52 getDefaultValue(); @Override void setDefaultValue(final DTCellValue52 defaultValue); @Override String getBoundName(); @Override void setBoundName(final String boundName); @Override String getFactField(); @Override void setFactField(final String factField); @Override String getFactType(); @Override void setFactType(final String factType); @Override String getHeader(); @Override void setHeader(final String header); @Override String getType(); @Override void setType(final String type); @Override String getValueList(); @Override void setValueList(final String valueList); @Override ActionInsertFactCol52 getActionCol52();  }
@Test public void testNewActionInsertFactWhenTableFormatIsExtendedEntry() throws Exception { doReturn(GuidedDecisionTable52.TableFormat.EXTENDED_ENTRY).when(model).getTableFormat(); final ActionWrapper wrapper = new ActionInsertFactWrapper(plugin); assertTrue(wrapper.getActionCol52() instanceof ActionInsertFactCol52); }
@Test public void testNewActionInsertFactWhenTableFormatIsLimitedEntry() throws Exception { doReturn(GuidedDecisionTable52.TableFormat.LIMITED_ENTRY).when(model).getTableFormat(); final ActionWrapper wrapper = new ActionInsertFactWrapper(plugin); assertTrue(wrapper.getActionCol52() instanceof LimitedEntryActionInsertFactCol52); }