public class StubFactory<T> extends Object implements StubFactoryDSL.AtClause<T>
| Modifier and Type | Method and Description |
|---|---|
T |
at(EndpointReference endpoint) |
T |
at(String address)
Returns a stub for a service endpoint at a given address.
|
static <T> StubFactory<T> |
stubFor(GcubeService<T> target) |
public static <T> StubFactory<T> stubFor(GcubeService<T> target)
public T at(String address)
StubFactoryDSL.AtClauseat in interface StubFactoryDSL.AtClause<T>address - the addresspublic T at(EndpointReference endpoint)
Copyright © 2015. All Rights Reserved.