public AllocationsController(IAllocations iAllocations) { this.iAllocations = iAllocations; }
public AllocationsRepositoryTest() { this.iCalendarLibrary = new Mock <IConnection <Calendar> >(); this.iConfiguration = new Mock <IConfiguration>(); this.allocationsRepository = new AllocationsRepository(iCalendarLibrary.Object, iConfiguration.Object); }