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