public void GetDisplayNameReturnsCorrectValue()
        {
            var model = new YourDetailsCompositeViewModel();

            model.CustomerDetails.Gender = CommonEnums.Gender.Female;
            Assert.True(CommonEnums.Gender.Female.ToString() == model.CustomerDetails.Gender.GetDisplayName());
        }
        public void GetDisplayReturnValueIfEnumNotFound()
        {
            var model = new YourDetailsCompositeViewModel();

            Assert.True(model.CustomerDetails.Gender.GetDisplayName() == "0");
        }