public void CloseTrainingRequest_returncorrectView_InCorrectRaiseIDAndInCorrectTrainingTypeID() { //Arrange TrainingController cntrl = new TrainingController(new TrainingRepository()); HttpContext.Current = FakeHttpContext(); //Act ViewResult actual; actual = cntrl.CloseTrainingRequest("00", "0000") as ViewResult; //Assert Assert.IsNull(actual); }