Exemple #1
0
        private HearingDetailsResponse InitHearing()
        {
            var @case = new CaseResponse
            {
                IsLeadCase = true,
                Name       = "Mapping test",
                Number     = "12345678 MT"
            };

            return(new HearingDetailsResponse
            {
                Id = Guid.NewGuid(),
                Cases = new List <CaseResponse> {
                    @case
                },
                ScheduledDateTime = new DateTime(2020, 10, 12, 13, 10, 0, DateTimeKind.Utc),
                OtherInformation = JsonConvert.SerializeObject(new OtherInformationDetails {
                    JudgeEmail = "*****@*****.**"
                })
            });
        }
Exemple #2
0
        private HearingDetailsResponse InitHearing()
        {
            var @case = new CaseResponse
            {
                IsLeadCase = true,
                Name       = $"Day 1 of 4 {CaseName}",
                Number     = "12345678 MT"
            };

            var h = new HearingDetailsResponse
            {
                Id    = Guid.NewGuid(),
                Cases = new List <CaseResponse> {
                    @case
                },
                ScheduledDateTime = new DateTime(2020, 10, 12, 13, 10, 0, DateTimeKind.Utc)
            };

            h.GroupId = h.Id;
            return(h);
        }