public void ConsoleMessagesToString_Test()
        {
            var id           = 10;
            var testString   = "Test string";
            var testClassObj = new ConsoleMessages(id, testString);

            Assert.AreEqual(testString, testClassObj.ToString());
        }
        public void ConsoleMessagesConstrucor_Test()
        {
            var id           = 10;
            var testString   = "Test string";
            var testClassObj = new ConsoleMessages(id, testString);

            Assert.AreEqual(id, testClassObj.Id);
            Assert.AreEqual(testString, testClassObj.Description);
        }
        public void ConsoleMessagesEquals_Test()
        {
            var id           = 10;
            var testString   = "Test string";
            var testClassObj = new ConsoleMessages(id, testString);

            Assert.AreEqual(false, testClassObj.Equals(ConsoleMessages.DivisionByZero));
            Assert.AreEqual(true, testClassObj.Equals(testClassObj));
        }
 public static void PrintInfoMessage(ConsoleMessages message)
 {
     Console.ForegroundColor = ConsoleColor.Green;
     Console.WriteLine(message);
     Console.ResetColor();
 }
 public static void PrintErrorMessage(ConsoleMessages message)
 {
     Console.ForegroundColor = ConsoleColor.Red;
     Console.WriteLine(message);
     Console.ResetColor();
 }