private LedgerBookDto ArrangeAndAct()
        {
            var bucketRepo  = new BucketBucketRepoAlwaysFind();
            var accountRepo = new InMemoryAccountTypeRepository();
            var mapper      = new Mapper_LedgerBookDto_LedgerBook(bucketRepo, accountRepo, new LedgerBucketFactory(bucketRepo, accountRepo), new LedgerTransactionFactory(), new Mock <IReconciliationBuilder>().Object);

            return(mapper.ToDto(TestData));
        }
Exemplo n.º 2
0
        public void TestInitialise()
        {
            var accountRepo = new InMemoryAccountTypeRepository();
            var bucketRepo  = new BucketBucketRepoAlwaysFind();
            var subject     = new Mapper_LedgerBookDto_LedgerBook(bucketRepo, accountRepo, new LedgerBucketFactory(bucketRepo, accountRepo), new LedgerTransactionFactory(), new Mock <IReconciliationBuilder>().Object);

            Result = subject.ToDto(TestData);
        }