Пример #1
0
        public void CanViewEdit()
        {
            //Act
            var result = _translationController.Edit(1);
            var model  = ((ViewResult)result).Model;

            //Assert
            Assert.IsInstanceOf <ActionResult>(result);
            Assert.IsInstanceOf <Translation>(model);
        }