public void MustShowHelloWorld() { // arrange ActionHello action = new ActionHello(this.Writer); // act action.Action(); // assert Assert.AreEqual("Hello World", this.Lines[0]); }
public void MustRaiseException() { IAction action = new ActionHello(this.Writer); action.Action(null); }