public StudentGuardianServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.studentGuardianService = new StudentGuardianService( storageBroker: this.storageBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object); }
public StudentGuardiansController(IStudentGuardianService studentGuardianService) => this.studentGuardianService = studentGuardianService;