junit-servers-tomcat/src/main/java/com/github/mjeanroy/junit/servers/tomcat/junit4/TomcatServerJunit4Runner.java
private static EmbeddedTomcat instantiate(Class<?> klass) {
		EmbeddedTomcatConfiguration configuration = extractConfiguration(klass);
		return configuration == null ? new EmbeddedTomcat() : new EmbeddedTomcat(configuration);
	}
private static EmbeddedTomcat instantiate(Class<?> klass) {
		EmbeddedTomcatConfiguration configuration = extractConfiguration(klass);
		return configuration == null ? new EmbeddedTomcat() : new EmbeddedTomcat(configuration);
	}
private static EmbeddedTomcat instantiate ( Class < ? > klass ) { EmbeddedTomcatConfiguration configuration = extractConfiguration ( klass ) ; return configuration == null ? new EmbeddedTomcat ( ) : new EmbeddedTomcat ( configuration ) ; }
Instantiate embedded tomcat to be used in tests.

@param klass The tested class.
@return The embedded tomcat.
Instantiate embedded tomcat to be used in tests .