public void ThrowBusinessRuleValidationException_IfProfileIdHaveInvalidValues (int profileValue) { Assert.Throws <BusinessRuleValidationException>( () => UpdateUserMother.GetUserWithInvalidProfileId(profileValue) ); }
public void ThrowBusinessRuleValidationException_IfDniHaveInvalidValues (string dniValue) { Assert.Throws <BusinessRuleValidationException>( () => UpdateUserMother.GetUserWithInvalidDni(dniValue) ); }
public void ThrowBusinessRuleValidationException_IfLastnameHaveInvalidValues (string lastnameValue) { Assert.Throws <BusinessRuleValidationException>( () => UpdateUserMother.GetUserWithInvalidLasttname(lastnameValue) ); }
public void ThrowBusinessRuleValidationException_IfUserIdHaveAInvalidValues() { Assert.Throws <BusinessRuleValidationException>( () => UpdateUserMother.GetUserWithEmptyUserId() ); }
public void AValidUser_IfRecreateAValidUserCredential() { User mockUser = UpdateUserMother.GetAValidUser(); Assert.NotNull(mockUser.GetCredential); }
public void UpdateAValidUser() { User mockUser = UpdateUserMother.GetAValidUser(); Assert.NotNull(mockUser); }