private LpcReportService GetLpcReportService(ILpcReportRepository lpcReportRepository = null)
        {
            AutoMapperConfiguration.Configure();

            lpcReportRepository = lpcReportRepository ?? new Mock <ILpcReportRepository>().Object;
            return(new LpcReportService(lpcReportRepository));
        }
 public LpcReportRepositoryTest(CoreDataStoreDbFixture fixture, ITestOutputHelper output)
 {
     _lpcReportRepository = fixture.LpcReportRepository;
     _dbContext           = fixture.DbContext;
     _output = output;
 }
Exemplo n.º 3
0
 public LpcReportService(ILpcReportRepository lpcReportRepository)
 {
     _lpcReportRepository = lpcReportRepository ?? throw new ArgumentNullException(nameof(lpcReportRepository));
 }