Exemplo n.º 1
0
        public LegalPartyOfficialDocumentRepositoryTests()
        {
            var optionsBuilder = new DbContextOptionsBuilder();

            optionsBuilder.UseInMemoryDatabase(Guid.NewGuid().ToString("N"));

            var legalPartyContext = new LegalPartyContext(optionsBuilder);

            legalPartyContext.BuildLegalPartyDocument();

            _legalPartyDocumentRepository = new LegalPartyOfficialDocumentRepository(legalPartyContext);
        }
        public GrmEventRightTransferRepositoryTests()
        {
            var optionsBuilder = new DbContextOptionsBuilder();

            optionsBuilder.UseInMemoryDatabase(Guid.NewGuid().ToString("N"));

            var legalPartyContext = new LegalPartyContext(optionsBuilder);

            legalPartyContext.BuildLegalPartyDocument();

            _grmEventRightTransferRepository = new GrmEventRightTransferRepository(legalPartyContext);

            legalPartyContext.BuildGrmEventRightTransfer();
        }