示例#1
0
        public void server_usehttps_is_false_then_listenerprefix_begins_with_http()
        {
            var server = new RestServer();

            server.ShouldNotBeNull();

            server.UseHttps.ShouldBeFalse();
            server.ListenerPrefix.StartsWith("http").ShouldBeTrue();
            server.ListenerPrefix.StartsWith("https").ShouldBeFalse();
        }
        public void first_test()
        {
            var server = new RestServer();

            server.ShouldNotBeNull();
        }