Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
        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;
        }