コード例 #1
0
        public override void beforeAll()
        {
            base.beforeAll();

            _solutionDto       = new ObjectMother(AdministratorClarifySession).CreateSolution();
            _solutionAssembler = Container.GetInstance <IModelBuilder <Solution> >();
            _solution          = _solutionAssembler.GetOne(_solutionDto.IDNumber);
        }
コード例 #2
0
        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();
        }
コード例 #3
0
        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>());
        }
コード例 #4
0
 public static void LinkCaseToFirstSolutionResolution(this SolutionDTO solution, CaseDTO @case, ClarifySession clarifySession)
 {
     new InterfacesToolkit(clarifySession).LinkCaseToWorkaround(@case.IDNumber, solution.Resolutions[0]);
 }