Esempio n. 1
0
 private static void RigRepository(IActorsRepository repository, Actor[] actors)
 {
     repository.GetActorsByTheTvDbIdsAsync(Arg.Any<int[]>()).Returns(actors);
 }
Esempio n. 2
0
 private static void RigRepository(IActorsRepository repository, Actor[] actors, int[] expectedIds)
 {
     repository.GetActorsByTheTvDbIdsAsync(Arg.Is<int[]>(x => x.All(expectedIds.Contains))).Returns(actors);
 }