Esempio n. 1
0
 public GL_SP_Route_BLL(
     IGL_DAL gl_dal,
     IRouteMessages messages,
     IRouteValidatorStore validatorStore,
     IRouteValidationHandler validatorHandler,
     IRouteTransformationStore transformationStore,
     IRouteTransformationHandler transformationHandler
     )
 {
     GL_DAL                = gl_dal;
     MessageHandler        = messages;
     ValidatorStore        = validatorStore;
     ValidationHandler     = validatorHandler;
     TransformationStore   = transformationStore;
     TransformationHandler = transformationHandler;
 }
Esempio n. 2
0
 public RouteBLLTests(ITestOutputHelper outputHelper)
 {
     output                = outputHelper;
     GL_DAL                = new DAL_Mock();
     Messages              = new Messages_English();
     MessageHandler        = new GL_SP_Route_MessageHandler(Messages);
     ValidatorStore        = new RouteValidatorStore();
     ValidationHandler     = new RouteValidationHandler();
     TransformationStore   = new RouteTransformationStore();
     TransformationHandler = new RouteTransformationHandler();
     BLL = new GL_SP_Route_BLL(
         GL_DAL,
         Messages,
         ValidatorStore,
         ValidationHandler,
         TransformationStore,
         TransformationHandler
         );
 }