public void MustNotHaveInvalidDate()
        {
            // Given
            var dateInvalid = DateTime.Now.AddDays(1).Date;

            // Then
            Assert.Throws <DomainException>(() =>
                                            MemberAdmissionBuilder.New().WithDate(dateInvalid).Build())
            .WithMessage(MemberAdmissionValidation.DateIsInvalid);
        }
        public void MustNotHaveInvalidReception()
        {
            // Given
            var invalidReception = "Indicação";

            // Then
            Assert.Throws <DomainException>(() =>
                                            MemberAdmissionBuilder.New().WithReception(invalidReception).Build())
            .WithMessage(MemberAdmissionValidation.ReceptionIsInvalid);
        }
 public MemberAdmissionTest()
 {
     _memberAdmission = MemberAdmissionBuilder.New().Build();
 }