Esempio n. 1
0
        public void Enum_Should_Be_Converted_To_Corresponding_String(CalculationType calculationType, string enumName)
        {
            //Arrange
            string expected = enumName;

            //Act
            string actual = EnumUtils.ConvertToString(calculationType);

            //Assert
            Assert.AreEqual(expected, actual);
        }