public void DirectorReturnsSomething() { _directorController = new DirectorsController(_directorRepository); var value = _directorController.Index() as ViewResult; Assert.IsNotNull(value); }
public void Director() { //arrange DirectorsController controller = new DirectorsController(); //act ViewResult result = controller.Index() as ViewResult; //assert Assert.IsNotNull(result); }