public IEnumerable <int> Get()
 {
     return(ExpectedItems.ToArray());
 }
Ejemplo n.º 2
0
 protected override NUnitCtr.Constraint BuildInternalConstraint()
 {
     return(new CollectionSubsetConstraint(ExpectedItems.Select(str => StringComparerHelper.Build(str)).ToList()));
 }
 public IEnumerable <int> Get(int id)
 {
     return(ExpectedItems.Where(x => x == id).ToArray());
 }