public void read_eventOccurrence()
        {
            //setup
            var handler = CreateHandler();
            var request = new ReadEventOccurrenceRequest();
            request.Id = 1;

            //act
            var response = HandleRequest<ReadEventOccurrenceResponse>(handler, request);

            ////assert
            Assert.IsNotNull(response.EventOccurrence);
            Assert.AreEqual(1, response.EventOccurrence.Id);
            Assert.AreEqual(1, response.EventOccurrence.EventId);
            Assert.AreEqual(1, response.EventOccurrence.OrgUnitId);
            Assert.AreEqual("John", response.EventOccurrence.Presenter);
            Assert.AreEqual(10, response.EventOccurrence.MaximumAttendees);
            Assert.AreEqual(150, response.EventOccurrence.Cost);
            Assert.IsTrue(response.EventOccurrence.IsPriceScheduleEnabled);
        }
 private static IEnumerable<EventOccurrenceDateDto> GetEventOccurrenceDates(OccurrencesAdminDetailView parent, int occurrenceId)
 {
     var request = new ReadEventOccurrenceRequest { Id = occurrenceId };
     return parent.ProcessRequest<ReadEventOccurrenceResponse>(request).EventOccurrence.EventOccurrenceDates;
 }