private void CreateCACDHearing(int minutes = 0) { var request = new HearingRequestBuilder() .WithUsers(_c.Test.Users) .WithCACDCaseType() .WithScheduledTime(_c.TimeZone.Adjust(DateTime.Now.ToUniversalTime().AddMinutes(minutes))) .Build(); SendTheHearingRequest(request); }
public void GivenIHaveAHearing(int minutes = 0, string venue = DEFAULT_VENUE, bool audioRecordingRequired = false) { var request = new HearingRequestBuilder() .WithUsers(_c.Test.Users) .WithScheduledTime(_c.TimeZone.Adjust(DateTime.Now.ToUniversalTime().AddMinutes(minutes))) .WithVenue(venue) .WithAudioRecordingRequired(audioRecordingRequired) .Build(); SendTheHearingRequest(request); }
public void GivenIHaveAHearingWithAWinger() { var userTypes = CreateUserTypes(2, 0, 0, 1); AllocateUsers(userTypes); var request = new HearingRequestBuilder() .WithUsers(_c.Test.Users) .WithCACDCaseType() .Build(); SendTheHearingRequest(request); CreateConference(); }
public void GivenIHaveAHearingWithAWingerIn(int minutes) { var userTypes = CreateUserTypes(2, 0, 0, 1); AllocateUsers(userTypes); var request = new HearingRequestBuilder() .WithUsers(_c.Test.Users) .WithCACDCaseType() .WithScheduledTime(_c.TimeZone.Adjust(DateTime.Now.ToUniversalTime().AddMinutes(minutes))) .Build(); SendTheHearingRequest(request); CreateConference(); _c.Test.DelayedStartTime = minutes; }