public override void beforeAll() { base.beforeAll(); _solutionDto = new ObjectMother(AdministratorClarifySession).CreateSolution(); _solutionAssembler = Container.GetInstance <IModelBuilder <Solution> >(); _solution = _solutionAssembler.GetOne(_solutionDto.IDNumber); }
public override void beforeAll() { base.beforeAll(); _solutionDto = new ObjectMother(AdministratorClarifySession).CreateSolution(); var solutionAssembler = Container.GetInstance <IModelBuilder <Solution> >(); _solution = solutionAssembler.Get(FilterType.Equals("id_number", _solutionDto.IDNumber)).First(); }
public override void beforeAll() { base.beforeAll(); _solution1Dto = new ObjectMother(AdministratorClarifySession).CreateSolution(); _solution2Dto = new ObjectMother(AdministratorClarifySession).CreateSolution(); Container.Configure(d => d.For <ModelMap <Solution> >().Use <SolutionIdentifiedByIdNumberMap>()); }
public static void LinkCaseToFirstSolutionResolution(this SolutionDTO solution, CaseDTO @case, ClarifySession clarifySession) { new InterfacesToolkit(clarifySession).LinkCaseToWorkaround(@case.IDNumber, solution.Resolutions[0]); }