public void ShouldSetErrorsAndIsValidAfterInitialization()
        {
            _cliente.Nome = "";
            var wrapper = new ClienteWrapper(_cliente);

            Assert.IsFalse(wrapper.IsValid);
            Assert.IsTrue(wrapper.HasErrors);

            var errors = wrapper.GetErrors(nameof(wrapper.Nome)).Cast <string>().ToList();

            Assert.AreEqual(1, errors.Count);
            Assert.AreEqual("Nome requerido", errors.First());
        }
        //  [TestMethod]
        public void ShouldReturnValidationErrorIfFirstNameIsEmpty()
        {
            var wrapper = new ClienteWrapper(_cliente);

            Assert.IsFalse(wrapper.HasErrors);

            wrapper.Nome = "";
            Assert.IsTrue(wrapper.HasErrors);

            var errors = wrapper.GetErrors(nameof(wrapper.Nome)).Cast <string>().ToList();

            Assert.AreEqual(1, errors.Count);
            Assert.AreEqual("Firstname is required", errors.First());

            wrapper.Nome = "Julia";
            Assert.IsFalse(wrapper.HasErrors);
        }