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)); }
public Party GetParty(int partyId) { return(PartyRepository.Get(partyId)); }