コード例 #1
0
        public StudentExamFeeServiceTests()
        {
            this.storageBrokerMock  = new Mock <IStorageBroker>();
            this.dateTimeBrokerMock = new Mock <IDateTimeBroker>();
            this.loggingBrokerMock  = new Mock <ILoggingBroker>();

            this.studentExamFeeService = new StudentExamFeeService(
                storageBroker: this.storageBrokerMock.Object,
                dateTimeBroker: this.dateTimeBrokerMock.Object,
                loggingBroker: this.loggingBrokerMock.Object);
        }
コード例 #2
0
 public StudentExamFeesController(IStudentExamFeeService studentExamFeeService) =>
 this.studentExamFeeService = studentExamFeeService;