public void Sould_Forbid_Cleaning() { var wontDoTheCleaning = new WontDoTheCleaning(); var child = new Child(wontDoTheCleaning); Assert.AreEqual(child.RunAction(), "Father forbid the Cleaning"); }
public void Should_Do_Cooking() { var doThecooking = new DoTheCooking(); var child = new Child(doThecooking); Assert.AreEqual(child.RunAction(), "Mother allow the Cooking"); }