public void RedoTest() { DocumentCommand discmd = null; // TODO: Initialize to an appropriate value DocumentCommand undcmd = null; // TODO: Initialize to an appropriate value DocumentCommand redcmd = null; // TODO: Initialize to an appropriate value DocumentInvoker target = new DocumentInvoker(discmd, undcmd, redcmd); // TODO: Initialize to an appropriate value target.Redo(); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void DisplayTest() { Document doc = new Document(); DocumentCommand discmd = new DisplayCommand(doc); DocumentCommand undcmd = new UndoCommand(doc); DocumentCommand redcmd = new RedoCommand(doc); DocumentInvoker invoker = new DocumentInvoker(discmd, undcmd, redcmd); invoker.Display(); }