Class ProducesConsumesTest

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.rest.client.tck.ProducesConsumesTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class ProducesConsumesTest extends org.jboss.arquillian.testng.Arquillian
Tests that MP Rest Client's @Produces annotation affects the value transmitted in the Accept header, and that it's @Consumes annotation affects the value transmitted in the Content-Type header. Note that this is opposite of what you would expect for Jakarta RESTful Web Services resources.
  • Field Details

  • Constructor Details

    • ProducesConsumesTest

      public ProducesConsumesTest()
  • Method Details

    • createDeployment

      @Deployment public static org.jboss.shrinkwrap.api.Archive<?> createDeployment()
    • testProducesConsumesAnnotationOnMethod

      public void testProducesConsumesAnnotationOnMethod()
    • testProducesConsumesAnnotationOnInterface

      public void testProducesConsumesAnnotationOnInterface()