public class ServiceCatalogServer
extends org.junit.rules.ExternalResource
| Modifier and Type | Field and Description |
|---|---|
protected ServiceCatalogMockServer |
mock |
| Constructor and Description |
|---|
ServiceCatalogServer() |
ServiceCatalogServer(boolean https) |
ServiceCatalogServer(boolean https,
boolean crudMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
io.fabric8.mockwebserver.dsl.MockServerExpectation |
expect() |
<T> void |
expectAndReturnAsJson(String path,
int code,
T body)
Deprecated.
|
void |
expectAndReturnAsString(String path,
int code,
String body)
Deprecated.
|
okhttp3.mockwebserver.MockWebServer |
getMockServer() |
io.fabric8.servicecatalog.client.ServiceCatalogClient |
getServiceCatalogClient() |
protected ServiceCatalogMockServer mock
public ServiceCatalogServer()
public ServiceCatalogServer(boolean https)
public ServiceCatalogServer(boolean https,
boolean crudMode)
public void before()
before in class org.junit.rules.ExternalResourcepublic void after()
after in class org.junit.rules.ExternalResourcepublic io.fabric8.servicecatalog.client.ServiceCatalogClient getServiceCatalogClient()
public io.fabric8.mockwebserver.dsl.MockServerExpectation expect()
@Deprecated public <T> void expectAndReturnAsJson(String path, int code, T body)
@Deprecated public void expectAndReturnAsString(String path, int code, String body)
public okhttp3.mockwebserver.MockWebServer getMockServer()
Copyright © 2015–2020 Red Hat. All rights reserved.