Exemplo n.º 1
0
        public ExamFeeServiceTests()
        {
            this.storageBrokerMock  = new Mock <IStorageBroker>();
            this.loggingBrokerMock  = new Mock <ILoggingBroker>();
            this.dateTimeBrokerMock = new Mock <IDateTimeBroker>();

            this.examFeeService = new ExamFeeService(
                storageBroker: this.storageBrokerMock.Object,
                loggingBroker: this.loggingBrokerMock.Object,
                dateTimeBroker: this.dateTimeBrokerMock.Object);
        }
Exemplo n.º 2
0
 public ExamFeesController(IExamFeeService examFeeService) =>
 this.examFeeService = examFeeService;