public void Test1() { var expectedResult = "1"; var nh = new NumberHandler(); var actualResult = nh.GetMessage(1); Assert.AreEqual(expectedResult, actualResult, "NumberHandler did not return 1 when value passed was 1"); }
public void TestFizzBuzz() { var expectedResult = "FizzBuzz"; var nh = new NumberHandler(); var actualResult = nh.GetMessage(15); Assert.AreEqual(expectedResult, actualResult, "NumberHandler did not return FizzBuzz when value passed was 15"); }