public void FilterByFollowers_AnonymousData_CorrectQuery(long[] folowwers) { var query = new Query(new HttpUtils()); var sut = new FilterStreamQueryBuilder(query); sut.FilterByFillowers(folowwers); query.Follow.ShouldBeEquivalentTo(folowwers); }
public void FilterByFollowers_AnonymousDataNotEmptyQuery_CorrectQuery(long[] folowwers, [Frozen(Matching.ImplementedInterfaces)]Query query, FilterStreamQueryBuilder sut) { var oldValue = query.Follow.ToList(); sut.FilterByFillowers(folowwers); query.Follow.ShouldBeEquivalentTo(oldValue.Concat(folowwers)); }