junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/engine/Servers.java
public static EmbeddedServer<?> instantiate(Class<?> klass) {
		AbstractConfiguration configuration = findConfiguration(klass);
		return instantiate(configuration);
	}
public static EmbeddedServer<?> instantiate(Class<?> klass) {
		AbstractConfiguration configuration = findConfiguration(klass);
		return instantiate(configuration);
	}
Instantiate jetty or tomcat embedded server.

<p>

Server configuration is automatically read on static field / methods
available on given class (i.e field or method annotated
with {@link com.github.mjeanroy.junit.servers.annotations.TestServerConfiguration} annotation).

<p>

Server implementation is automatically detected (jetty or
tomcat) with classpath detection.

@param klass Class to inspect.
@return Embedded server.