public class ServerBackedApplicationUnderTest extends Object implements ApplicationUnderTest, Closeable
Constructor and Description |
---|
ServerBackedApplicationUnderTest(Factory<RatpackServer> serverFactory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
URI |
getAddress()
The address of the application under test, which is guaranteed to be accepting requests.
|
void |
stop() |
public ServerBackedApplicationUnderTest(Factory<RatpackServer> serverFactory)
public URI getAddress()
ApplicationUnderTest
getAddress
in interface ApplicationUnderTest
public void stop()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException