Esempio n. 1
0
        public async Task CreatePart_Success()
        {
            //Act
            var action = await warehouseController.CreatePart() as ViewResult;

            var model = action.Model as PostPutPartViewModel;

            //Assert
            Assert.Null(model.Part);
        }