Ejemplo n.º 1
0
        internal static Route ShouldBeRoute(this RouteBase subject, Route expected)
        {
            subject.Should().NotBeNull().And.BeAssignableTo <Route>();
            var route = subject as Route;

            route.ShouldBeEquivalentTo(expected, o => o.Excluding(r => r.RouteHandler));
            return(route);
        }