コード例 #1
0
ファイル: ActorContextShould.cs プロジェクト: teoadal/velo
 public void EnumerableWhere()
 {
     foreach (var actor in Fixture.CreateMany <Actor>())
     {
         _actorContext.Add(actor);
         _actorContext
         .Where((a, id) => a.Id == id, actor.Id)
         .Should().ContainSingle(a => a.Id == actor.Id);
     }
 }