Exemplo n.º 1
0
        public void PartyRepository_Get()
        {
            PartyRepository sut = new PartyRepository();

            Party[] result1 = sut.Get(10, 0).ToArray();
            Party[] result2 = sut.Get(10, 5).ToArray();

            CollectionAssert.AreEqual(result1.Skip(5).Take(5), result2.Take(5));
        }
Exemplo n.º 2
0
 public Party GetParty(int partyId)
 {
     return(PartyRepository.Get(partyId));
 }