CreateCase() public method

public CreateCase ( ) : CaseDTO
return CaseDTO
            public override void beforeAll()
            {
                var objectMother = new ObjectMother(AdministratorClarifySession);

                _cases = new[] { objectMother.CreateCase(), objectMother.CreateCase() };
                var assembler = Container.GetInstance <IModelBuilder <ViewToTableToView> >();

                _viewModels = assembler.Get(FilterType.IsIn("id_number", _cases.Select(c => c.IDNumber).ToArray()));
            }
 public override void beforeAll()
 {
     var mother = new ObjectMother(AdministratorClarifySession);
     var @case = mother.CreateCase();
     _schemaCache = Container.GetInstance<ISchemaCache>();
     _emailLogSetup = new LogCaseEmailSetup(@case.IDNumber)
     {
         Message = "message body",
         CCList = "cc-recipient",
         Recipient = "*****@*****.**"
     };
     _emailLogSetup.AdditionalFields.Append("x_subject", AdditionalFieldType.String, "subject");
     _logEmailObjid = AdministratorClarifySession.CreateSupportToolkit().LogCaseEmail(_emailLogSetup).Objid;
 }