void Index_Post_InvalidDataReturnsError(Guid?value, HttpPostedFileBase file) { GenomeController gc = new GenomeController(); ActionResult r = gc.Index(value, file); Assert.NotNull(r); Assert.IsType <ViewResult>(r); }
void Index_Post_ValidDataRedirectsHome(Guid?value, HttpPostedFileBase file) { GenomeController gc = new GenomeController(); ActionResult r = gc.Index(value, file); Assert.NotNull(r); Assert.IsType <RedirectToRouteResult>(r); }
void Index_Get_ReturnsView(Guid?value) { GenomeController gc = new GenomeController(); ActionResult v = gc.Index(value); Assert.NotNull(v); Assert.IsType <ViewResult>(v); }