public ICardImageAssertions UrlMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelpers.TestSetForMatch(CardImages, cardImage => cardImage.That().UrlMatching(regex), CreateEx(nameof(CardImage.Url), regex)); return(this); }
public ICardActionAssertions TitleMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelpers.TestSetForMatch(CardActions, action => action.That().TitleMatching(regex), CreateEx(nameof(CardAction.Title), regex)); return(this); }
public IReceiptItemAssertions TitleMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelpers.TestSetForMatch(ReceiptItems, item => item.That().TitleMatching(regex), CreateEx(nameof(ReceiptItem.Title), regex)); return(this); }
public IThumbnailCardAssertions SubtitleMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelpers.TestSetForMatch(ThumbnailCards, card => card.That().SubtitleMatching(regex), CreateEx(nameof(ThumbnailCard.Subtitle), regex)); return(this); }
public IFactAssertions KeyMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelper.TestSetForMatch(Facts, fact => fact.That().KeyMatching(regex), CreateEx(nameof(Fact.Key), regex)); return(this); }
public IActivityAssertions FromMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelpers.TestSetForMatch(_messageSet, msg => msg.Should().FromMatching(regex), CreateEx(nameof(Activity.From), regex)); return(this); }
public ISigninCardAssertions TextMatching(string regex) { if (regex == null) { throw new ArgumentNullException(nameof(regex)); } _setHelpers.TestSetForMatch(SigninCards, card => card.That().TextMatching(regex), CreateEx(nameof(SigninCard.Text), regex)); return(this); }