Exemplo n.º 1
0
        public ExmOrdersRenderingsController(IMvcContext mvcContext, IOrderEmailUtils orderEmailUtils)
        {
            Assert.ArgumentNotNull(mvcContext, nameof(mvcContext));
            Assert.ArgumentNotNull(orderEmailUtils, nameof(orderEmailUtils));

            this.mvcContext      = mvcContext;
            this.orderEmailUtils = orderEmailUtils;
        }
Exemplo n.º 2
0
        public ExmOrdersRenderingsControllerTests()
        {
            this.fixture = new Fixture().Customize(new AutoDbCustomization());

            this.mvcContext      = Substitute.For <IMvcContext>();
            this.orderEmailUtils = Substitute.For <IOrderEmailUtils>();

            this.controller = new ExmOrdersRenderingsController(this.mvcContext, this.orderEmailUtils);
        }