public class WithApplication
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FakeApplication |
app |
Constructor and Description |
---|
WithApplication() |
Modifier and Type | Method and Description |
---|---|
protected FakeApplication |
provideFakeApplication()
Override this method to setup the fake application to use.
|
protected void |
start()
Deprecated.
The application is automatically started before each test, you don’t need to call this method explicitly
|
protected void |
start(FakeApplication app)
Deprecated.
|
void |
startPlay() |
void |
stopPlay() |
protected FakeApplication app
protected FakeApplication provideFakeApplication()
@Deprecated protected void start()
@Deprecated protected void start(FakeApplication app)
public void startPlay()
public void stopPlay()