Пример #1
0
        public void TestAreaMessage_OneShape_ReturnMessage()
        {
            string Message = $"NameShape: 23.5";

            shape.Setup(x => x.ToString()).Returns(Message);

            Assert.AreEqual(Message, areaCalculator.AreaMessage(shape.Object));
        }