public void Arrange()
        {
            base.Arrange(
                addEpaoClaim: true,
                addUkprnClaim: false,
                contactsPrivileges: null);

            ValidateApiClient.Setup(c => c.ValidateEmailAddress(ValidEmailDifferent)).ReturnsAsync(true);
        }
示例#2
0
        public void Arrange()
        {
            base.Arrange(
                addEpaoClaim: true,
                addUkprnClaim: false,
                contactsPrivileges: null);

            ValidateApiClient.Setup(c => c.ValidatePhoneNumber(ValidPhoneNumber)).ReturnsAsync(true);
            ValidateApiClient.Setup(c => c.ValidatePhoneNumber(InvalidPhoneNumber)).ReturnsAsync(false);
        }
        public void Arrange()
        {
            base.Arrange(
                addEpaoClaim: true,
                addUkprnClaim: false,
                contactsPrivileges: null);

            ValidateApiClient.Setup(c => c.ValidateWebsiteLink(ValidWebsiteLink)).ReturnsAsync(true);
            ValidateApiClient.Setup(c => c.ValidateWebsiteLink(InvalidWebsiteLinkAddress)).ReturnsAsync(false);
        }