public void ShowsCorrectProcessView(int x, int y, int expectedResult) { var cc = new CalcController(); var calcModel = new CalcViewModel() { Number1 = x, Number2 = y }; var result = cc.Process(calcModel) as ViewResult; Assert.Equal(expectedResult, calcModel.Result); }