private LpcReportController GetLpcReportController(ILpcReportService lpcReportService = null, ILandmarkService landmarkService = null) { lpcReportService = lpcReportService ?? new Mock <ILpcReportService>().Object; landmarkService = landmarkService ?? new Mock <ILandmarkService>().Object; return(new LpcReportController(lpcReportService, landmarkService)); }
/// <summary> /// Initializes a new instance of the <see cref="LpcReportController"/> class. /// </summary> /// <param name="lpcReportService"></param> /// <param name="landmarkService"></param> public LpcReportController(ILpcReportService lpcReportService, ILandmarkService landmarkService) { _lpcReportService = lpcReportService ?? throw new ArgumentNullException(nameof(lpcReportService)); _landmarkService = landmarkService ?? throw new ArgumentNullException(nameof(landmarkService)); }
public LpcReportServiceTest(CoreDataStoreDbFixture fixture, ITestOutputHelper output) { _lpcReportService = fixture.LPCReportService; _output = output; }