public void GivenBundleNotFound_WhenProcessRequest_ThenNotFoundResponse() { bundleContainer.Setup(c => c.FindBundlesContainingPath(It.IsAny <string>())) .Returns(() => new Bundle[0]); handler.ProcessRequest(null); response.VerifySet(r => r.StatusCode = 404); }
public void GivenBundleIsNull_WhenProcessRequest_ThenNotFoundResponse() { handler.ProcessRequest(null); response.VerifySet(r => r.StatusCode = 404); }
public void GivenBundleNotFound_WhenProcessRequest_ThenNotFoundResponse() { bundles.Clear(); handler.ProcessRequest(null); response.VerifySet(r => r.StatusCode = 404); }