public static TestServer Create <TStartup>() { var server = new TestServer(); server.Configure <TStartup>(); return(server); }
public static TestServer Create(Action <IAppBuilder> startup) { var server = new TestServer(); server.Configure(startup); return(server); }