public void ThrowBusinessRuleValidationException_IfEmailHaveAInvalidValues
     (string emailValue)
 {
     Assert.Throws <BusinessRuleValidationException>(
         () => CreateCredentialMother.GetCredentialWithInvalidEmailValues(emailValue)
         );
 }
 public void ThrowBusinessRuleValidationException_IfUsernameHaveAInvalidValues
     (string usernameValue)
 {
     Assert.Throws <BusinessRuleValidationException>(
         () => CreateCredentialMother.GetCredentialWithInvalidUsernameValues(usernameValue)
         );
 }
 public void ThrowBusinessRuleValidationException_IfPasswordHaveAInvalidValues
     (string passwordValue)
 {
     Assert.Throws <BusinessRuleValidationException>(
         () => CreateCredentialMother.GetCredentialWithInvalidPasswordValues(passwordValue)
         );
 }
        public void CreateAValidCredentialObject()
        {
            var mockCredential = CreateCredentialMother.GetAValidCredential();

            Assert.NotNull(mockCredential);
        }