public class InvokedMethodTest
extends org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.rest.client.invokedMethod
property that implementations must
provide in the `ClientRequestContext` of `ClientRequestFilter`s and `ClientResponseFilter`s.Constructor and Description |
---|
InvokedMethodTest() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createDeployment() |
void |
testRequestFilterReturnsMethodInvoked()
This test checks that the Rest Client implementation provides the methodInvoked property to the
ClientRequestContext in a ClientRequestFilter . |
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
public void testRequestFilterReturnsMethodInvoked() throws Exception
ClientRequestContext
in a ClientRequestFilter
. The user's
ClientRequestFilter
should be able to read the return type, annotations, and parameters from the
Method
from that property.Exception
- - indicates test failureCopyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.