public void BuildReturnsJudgementService()
        {
            var factory = new JudgementServiceFactory(
                this.ruleViolationServiceFactory,
                this.judgementRepository,
                this.highProfitJudgementMapper,
                this.fixedIncomeJudgementMapper,
                this.fixedIncomeHighVolumeJudgementMapper,
                this.logger);

            Assert.DoesNotThrow(() => factory.Build());
            A.CallTo(() => this.ruleViolationServiceFactory.Build()).MustHaveHappenedOnceExactly();
        }
        public void BuildReturnsValidServiceCallsFactoryBuild()
        {
            var serviceFactory = new JudgementServiceFactory(
                this.ruleViolationServiceFactory,
                this.judgementRepository,
                this.highProfitJudgementMapper,
                this.fixedIncomeJudgementMapper,
                this.fixedIncomeHighVolumeJudgementMapper,
                this.logger);

            var result = serviceFactory.Build();

            A.CallTo(() => this.ruleViolationServiceFactory.Build()).MustHaveHappenedOnceExactly();
            Assert.IsNotNull(result);
        }