private void DoAssertions(ReservationAllocation rAllocation, ReservationId reservationID , ReservationDefinition rDef, IDictionary <ReservationInterval, ReservationRequest > allocations, int start, int[] alloc) { NUnit.Framework.Assert.AreEqual(reservationID, rAllocation.GetReservationId()); NUnit.Framework.Assert.AreEqual(rDef, rAllocation.GetReservationDefinition()); NUnit.Framework.Assert.AreEqual(allocations, rAllocation.GetAllocationRequests()); NUnit.Framework.Assert.AreEqual(user, rAllocation.GetUser()); NUnit.Framework.Assert.AreEqual(planName, rAllocation.GetPlanName()); NUnit.Framework.Assert.AreEqual(start, rAllocation.GetStartTime()); NUnit.Framework.Assert.AreEqual(start + alloc.Length + 1, rAllocation.GetEndTime( )); }