[Test] public void LastActionIsSetAsInputCellAttribute() { SetUpSUT("procedure"); var parameters = new ExecuteParameters( ExecuteParameters.MakeMemberCell(new CellTreeLeaf("procedure"), targetCell)); execute.Execute(new ExecuteContext(ExecuteCommand.Input, target.Value), parameters); Assert.AreEqual("blah blah", targetCell.Value.GetAttribute(CellAttribute.Extension)); }
TypedValue Execute(Tree <Cell> targetCell) { return(execute.Execute(target.Value, new CellTreeLeaf(memberName), new CellTree(), targetCell == null ? null : targetCell.Value)); }