Esempio n. 1
0
        public void SetUp()
        {
            MockData.SetUp();
            _context = Substitute.For <IOrangeBricksContext>();
            _context.Properties.Returns(MockData.Properties);
            _context.Offers.Returns(MockData.Offers);

            _controller = MockData.CreateControllerContext(new OffersController(_context));
        }