public void one_matching_audience_so_no_errors() { response.AddAudienceRestriction(theRule.Audiences.ElementAt(0)); response.AddAudienceRestriction("something:random"); theRule.Validate(response); response.Errors.Any().ShouldBeFalse(); }
public void one_matching_audience_so_no_errors() { response.AddAudienceRestriction(theRule.Audiences.ElementAt(0)); response.AddAudienceRestriction("something:random"); theRule.Validate(response); response.Errors.Any().ShouldBeFalse(); }