public void FormatDateTest()
        {
            var validTestDate = "12 07 2021";
            var resultValid   = CustomDateTime.FormatDate(validTestDate);
            var expectedValid = "12-07-2021";

            Assert.AreEqual(resultValid, expectedValid);


            var  notValidTestDate = "12sas07sx2021";
            var  resultNotValid   = "";
            bool threwException   = false;

            try{ resultNotValid = CustomDateTime.FormatDate(notValidTestDate); }
            catch { threwException = true; }

            Assert.IsTrue(threwException);
        }