public GetReturnHandlerTests() { populatedReturn = A.Fake <IGetPopulatedReturn>(); handler = new GetReturnHandler(new AuthorizationBuilder() .AllowExternalAreaAccess() .AllowOrganisationAccess().Build(), populatedReturn); }
public GetReturnsHandler(IWeeeAuthorization authorization, IGetPopulatedReturn getPopulatedReturn, IReturnDataAccess returnDataAccess, IReturnFactory returnFactory, IQuarterWindowFactory quarterWindowFactory, ISystemDataDataAccess systemDataDataAccess) { this.authorization = authorization; this.getPopulatedReturn = getPopulatedReturn; this.returnDataAccess = returnDataAccess; this.returnFactory = returnFactory; this.quarterWindowFactory = quarterWindowFactory; this.systemDataDataAccess = systemDataDataAccess; }
public GetReturnsHandlerTests() { populatedReturn = A.Fake <IGetPopulatedReturn>(); returnDataAccess = A.Fake <IReturnDataAccess>(); returnFactory = A.Fake <IReturnFactory>(); quarterWindowFactory = A.Fake <IQuarterWindowFactory>(); systemDataDataAccess = A.Fake <ISystemDataDataAccess>(); handler = new GetReturnsHandler(new AuthorizationBuilder() .AllowExternalAreaAccess() .AllowOrganisationAccess().Build(), populatedReturn, returnDataAccess, returnFactory, quarterWindowFactory, systemDataDataAccess); }
public GetReturnHandler(IWeeeAuthorization authorization, IGetPopulatedReturn getPopulatedReturn) { this.authorization = authorization; this.getPopulatedReturn = getPopulatedReturn; }