public void Index_PassesNewSessieIndexViewModel() { var actionResult = _controller.Index() as ViewResult; var sessieEvm = actionResult?.Model as SessieIndexViewModel; Assert.Equal(null, sessieEvm?.Naam); Assert.Equal(null, sessieEvm?.Code); }
public void Index_PassesNewSessieIndexViewModel() { var actionResult = _controller.Index() as ViewResult; var sessieEvm = actionResult?.Model as SessieIndexViewModel; Assert.Equal(null, sessieEvm?.Naam); Assert.Equal(null, sessieEvm?.Code); }