public static ActivityDTO TestActivityDTO1() { return(new ActivityDTO() { ActivityTemplate = FixtureData.TestActivityTemplateDTO1(), }); }
public static ActivityDTO TestActivityDTO2() { ActivityDTO curActionDTO = new ActivityDTO() { ActivityTemplate = FixtureData.TestActivityTemplateDTO1(), }; using (var crateStorage = ObjectFactory.GetInstance <ICrateManager>().GetUpdatableStorage(curActionDTO)) { crateStorage.Add(CreateStandardConfigurationControls()); } return(curActionDTO); }