Пример #1
0
        public void should_call_old_method()
        {
            var expert = "This is Old Method";
            var actual = ChangeMethod.OldMethod();

            Assert.AreEqual(expert, actual);
        }
Пример #2
0
        public void should_call_new_method()
        {
            var changeMethod = new ChangeMethod();
            var expert       = "This is New Method";
            var actual       = changeMethod.NewMethod();

            Assert.AreEqual(expert, actual);
        }