public class WithServer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Application |
app |
protected int |
port |
protected TestServer |
testServer |
Constructor and Description |
---|
WithServer() |
Modifier and Type | Method and Description |
---|---|
protected Application |
provideApplication()
Override this method to setup the application to use.
|
protected Application |
provideFakeApplication()
Deprecated.
use the new
provideApplication method instead. |
protected int |
providePort()
Override this method to setup the port to use.
|
void |
startServer() |
void |
stopServer() |
protected Application app
protected int port
protected TestServer testServer
protected Application provideApplication()
provideFakeApplication
method.@Deprecated protected Application provideFakeApplication()
provideApplication
method instead.protected int providePort()
public void startServer()
public void stopServer()