Skip to content

Instantly share code, notes, and snippets.

@markrendle
Created August 6, 2014 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markrendle/fcf5918eced51bc38fac to your computer and use it in GitHub Desktop.
Save markrendle/fcf5918eced51bc38fac to your computer and use it in GitHub Desktop.
Route-validating Assertion
public class CheckQueueRoutes : RouteMarchBase<QueueController>
{
[Fact]
public void MatchesDeleteMessagePath()
{
AssertRoute("api/testaccount/queue/delete/testqueue/testid?pop=testpop",
ctrl => ctrl.Delete("testaccount", "testqueue", "testid", "testpop", null));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment