Package com.asarkar.spring.test.mockserver

Types

AutoConfigureMockServer
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Tags(value = [Tag(value = "spring"), Tag(value = "spring-boot"), Tag(value = "mockserver"), Tag(value = "http-client"), Tag(value = "http-server"), Tag(value = "test"), Tag(value = "integration-test")])
@PropertyMapping(value = "mockserver")
annotation class AutoConfigureMockServer(port: Int)
Annotation for test classes that want to start a MockServer as part of the Spring application Context.
MockServerApplicationListener
Link copied to clipboard
@Order(value = 2147483647)
open class MockServerApplicationListener : ApplicationListener<ApplicationPreparedEvent>
MockServerAutoConfiguration
Link copied to clipboard
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(name = ["org.mockserver.netty.MockServer"])
class MockServerAutoConfiguration
MockServerConfiguration
Link copied to clipboard
data class MockServerConfiguration(remoteHost: String?, remotePort: Int, proxyConfiguration: ProxyConfiguration?)
This class gives the user a chance to configure the MockServer before it's started.
MockServerConfigurationProvider
Link copied to clipboard
interface MockServerConfigurationProvider
Class that gets called before the MockServer is started giving the user a chance to provide configuration options in a MockServerConfiguration.
MockServerLifecycle
Link copied to clipboard
open class MockServerLifecycle : SmartLifecycle