Class InvokedMethodTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.rest.client.tck.InvokedMethodTest
- All Implemented Interfaces:
org.testng.IHookable,org.testng.ITestNGListener
public class InvokedMethodTest
extends org.jboss.arquillian.testng.Arquillian
This tests the
org.eclipse.microprofile.rest.client.invokedMethod property that implementations must
provide in the `ClientRequestContext` of `ClientRequestFilter`s and `ClientResponseFilter`s.-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.arquillian.testng.Arquillian
org.jboss.arquillian.testng.Arquillian.UpdateResultListener -
Field Summary
Fields inherited from class org.jboss.arquillian.testng.Arquillian
ARQUILLIAN_DATA_PROVIDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.shrinkwrap.api.spec.WebArchivevoidThis test checks that the Rest Client implementation provides the methodInvoked property to theClientRequestContextin aClientRequestFilter.Methods inherited from class org.jboss.arquillian.testng.Arquillian
arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run
-
Constructor Details
-
InvokedMethodTest
public InvokedMethodTest()
-
-
Method Details
-
createDeployment
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() -
testRequestFilterReturnsMethodInvoked
This test checks that the Rest Client implementation provides the methodInvoked property to theClientRequestContextin aClientRequestFilter. The user'sClientRequestFiltershould be able to read the return type, annotations, and parameters from theMethodfrom that property.- Throws:
Exception- - indicates test failure
-