@FunctionalInterface public interface ServerUnderTestProvider
Modifier and Type | Method and Description |
---|---|
ServerUnderTest |
getServer(Map<String,Object> properties) |
default ServerUnderTest |
getServer(String specName) |
default ServerUnderTest |
getServer(String specName,
Map<String,Object> properties) |
@NonNull ServerUnderTest getServer(Map<String,Object> properties)
properties
- Properties supplied to application context started.@NonNull default ServerUnderTest getServer(String specName, Map<String,Object> properties)
specName
- value of spec.name property used to avoid bean pollution.properties
- Properties supplied to application context started.@NonNull default ServerUnderTest getServer(String specName)
specName
- value of spec.name property used to avoid bean pollution.