Class CDIInvokeAsyncSimpleGetOperationTest

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

public class CDIInvokeAsyncSimpleGetOperationTest extends WiremockArquillianTest
Verifies via CDI injection that you can use a programmatic interface. verifies that the interface has Dependent scope. This test is the same as the CDIInvokeSimpleGetOperationTest but uses async methods.
  • Constructor Details

    • CDIInvokeAsyncSimpleGetOperationTest

      public CDIInvokeAsyncSimpleGetOperationTest()
  • Method Details

    • createDeployment

      @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment()
    • testInvokesGetOperationWithCDIBean

      public void testInvokesGetOperationWithCDIBean() throws Exception
      Throws:
      Exception
    • testHasDependentScopedByDefault

      public void testHasDependentScopedByDefault()
      Tests that the component injected has Dependent scope