public void routes_for_should_get_all_route_definitions_for_declared_type() { var graph = new FubuRegistry(x => x.Applies.ToAssemblyContainingType<FakeInputModel>()).BuildGraph(); const string expectedPattern = "fubumvc/tests/registration/fake/query"; graph.RoutesFor<FakeInputModel>().ShouldHaveCount(1) .ShouldContain(routeDef => routeDef.Pattern == expectedPattern); }