public class WithServer extends 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 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()
protected int providePort()
public void startServer()
public void stopServer()