public void IfKnightedReturnsHelloSirPlusName() { var kata = new TheTeaParty(); var result = kata.Welcome("Newton", false, true); Assert.AreEqual("Hello Sir Newton", result); }
public void IfNotIsWomanReturnsHelloMrPlusName() { var kata = new TheTeaParty(); var result = kata.Welcome("Orwell", false, false); Assert.AreEqual("Hello Mr. Orwell", result); }
public void IfIsWomanReturnsHelloMsPlusName() { var kata = new TheTeaParty(); var result = kata.Welcome("Austen", true, false); Assert.AreEqual("Hello Ms. Austen", result); }