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 FakeApplication |
provideFakeApplication()
Old method - 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.protected FakeApplication provideFakeApplication()
provideApplication
method instead.
Override this method to setup the fake application to use.protected int providePort()
public void startServer()
public void stopServer()