Exemplo n.º 1
0
        public void Setup_Test()
        {
            _httpContext  = MockRepository.GenerateMock <HttpContextBase>();
            _sessionState = MockRepository.GenerateMock <HttpSessionStateBase>();

            _flashViewModelForTesting = new FlashViewModelForTesting
            {
                Property1 = "Property",
                Property2 = 10,
                Property3 = true,
            };
        }
        public void Setup_Test()
        {
            _httpContext = MockRepository.GenerateMock<HttpContextBase>();
            _sessionState = MockRepository.GenerateMock<HttpSessionStateBase>();

            _flashViewModelForTesting = new FlashViewModelForTesting
            {
                Property1 = "Property",
                Property2 = 10,
                Property3 = true,
            };
        }