public void SimpleMessageShowShouldReturnCorrectString()
        {
            var simpleMessage = new SimpleMessage("Simple message");

            string actual = "Simple message";
            string expected = simpleMessage.Show();

            Assert.AreEqual(expected, actual, "Show() function from Simple Message doesn't return correct string");
        }
        public void OneParameterMessageShouldShowCorrectText()
        {
            string message = "Parameter message";
            int parameter = 1;

            var simpleMessage = new SimpleMessage(message);
            var oneParameterMessage = new OneParameterMessage(simpleMessage, parameter);

            string actual = string.Format(simpleMessage.Show(), parameter);
            string expected = oneParameterMessage.Show();

            Assert.AreEqual(expected, actual, "OneParameterMessage Show() doesn't return string in proper format.");
        }
        public void TestMethod1()
        {
            string message = "Parameter message";
            int parameter1 = 1;
            int parameter2 = 2;

            var simpleMessage = new SimpleMessage(message);
            var twoParametersMessage = new TwoParameterMessage(simpleMessage, parameter1, parameter2);

            string actual = string.Format(simpleMessage.Show(), parameter1, parameter2);
            string expected = twoParametersMessage.Show();

            Assert.AreEqual(expected, actual, "TwoParameterMessage Show() doesn't return string in proper format.");
        }