public abstract class SoapExtension extends Object implements org.junit.jupiter.api.extension.ParameterResolver, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
| Constructor and Description |
|---|
SoapExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertValidAddress(String address) |
protected <T> void |
assertValidParams(T target,
Class<T> port,
String address) |
<T> T |
mock(Class<T> port,
String address)
Create (and start) service endpoint with mock delegate.
|
<T> T |
mock(Class<T> port,
String address,
List<String> schemaLocations)
Create (and start) service endpoint with mock delegate.
|
<T> T |
mock(Class<T> port,
String address,
List<String> schemaLocations,
Map<String,Object> properties)
Create (and start) service with mock delegate and additional properties.
|
<T> T |
mock(Class<T> port,
String address,
Map<String,Object> properties)
Create (and start) service endpoint with mock delegate.
|
<T> T |
mock(Class<T> port,
String address,
String wsdlLocation)
Create (and start) service endpoint with mock delegate.
|
<T> T |
mock(Class<T> port,
String address,
String wsdlLocation,
Map<String,Object> properties)
Create (and start) service endpoint with mock delegate.
|
protected int |
parsePort(String address) |
protected Map<String,Object> |
processProperties(Map<String,Object> properties,
String wsdlLocation,
List<String> schemaLocations) |
static Map<String,Object> |
properties(Object... properties) |
<T> void |
proxy(T target,
Class<T> port,
String address,
String wsdlLocation,
List<String> schemaLocations)
Create (and start) an endpoint.
|
abstract <T> void |
proxy(T target,
Class<T> port,
String address,
String wsdlLocation,
List<String> schemaLocations,
Map<String,Object> properties)
Create (and start) an endpoint with the given properties.
|
protected static void |
verifyProperties(Object... properties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic <T> void proxy(T target,
Class<T> port,
String address,
String wsdlLocation,
List<String> schemaLocations)
T - the type of the mocked classtarget - instance calls are forwarded toport - service classaddress - address, i.e. http://localhost:1234wsdlLocation - wsdl location, or nullschemaLocations - schema locations, or nullpublic abstract <T> void proxy(T target,
Class<T> port,
String address,
String wsdlLocation,
List<String> schemaLocations,
Map<String,Object> properties)
T - the type of the mocked classtarget - instance calls are forwarded toport - service classaddress - address, i.e. http://localhost:1234wsdlLocation - wsdl location, or nullschemaLocations - schema locations, or nullproperties - additional properties, like mtom-enabled etc.public <T> T mock(Class<T> port, String address)
T - class to be mockedport - service classaddress - address, i.e. http://localhost:1234public <T> T mock(Class<T> port, String address, Map<String,Object> properties)
T - class to be mockedport - service classaddress - address, i.e. http://localhost:1234properties - additional properties, like mtom-enabled etc.public <T> T mock(Class<T> port, String address, String wsdlLocation)
T - class to be mockedport - service classaddress - address, i.e. http://localhost:1234wsdlLocation - wsdl locationpublic <T> T mock(Class<T> port, String address, String wsdlLocation, Map<String,Object> properties)
T - class to be mockedport - service classaddress - address, i.e. http://localhost:1234wsdlLocation - wsdl locationproperties - additional properties, like mtom-enabled etc.public <T> T mock(Class<T> port, String address, List<String> schemaLocations)
T - class to be mockedport - service classaddress - address, i.e. http://localhost:1234schemaLocations - schema locationspublic <T> T mock(Class<T> port, String address, List<String> schemaLocations, Map<String,Object> properties)
T - class to be mockedport - service classaddress - address, i.e. http://localhost:1234schemaLocations - schema locationsproperties - additional properties, like mtom-enabled and soprotected void assertValidAddress(String address)
protected int parsePort(String address)
protected Map<String,Object> processProperties(Map<String,Object> properties, String wsdlLocation, List<String> schemaLocations)
protected static void verifyProperties(Object... properties)
Copyright © 2023. All rights reserved.