Package io.micronaut.http.tck
Interface ServerUnderTestProvider
- All Known Implementing Classes:
EmbeddedServerUnderTestProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a server to test.
- Since:
- 3.8.0
- Author:
- Sergio del Amo
-
Method Summary
-
Method Details
-
getServer
- Parameters:
properties
- Properties supplied to application context started.- Returns:
- The server under test.
-
getServer
- Parameters:
specName
- value of spec.name property used to avoid bean pollution.properties
- Properties supplied to application context started.- Returns:
- Server under test
-
getServer
- Parameters:
specName
- value of spec.name property used to avoid bean pollution.- Returns:
- Server under test
-