Beispiel #1
0
        public void RoutesByPathAndVerb()
        {
            var options = new MappingsEndpointOptions();

            Assert.True(options.ExactMatch);
            Assert.Equal("/actuator/mappings", options.GetContextPath(new ActuatorManagementOptions()));
            Assert.Equal("/cloudfoundryapplication/mappings", options.GetContextPath(new CloudFoundryManagementOptions()));
            Assert.Null(options.AllowedVerbs);
        }