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; }