Class IncompatibleFallbackMethodTest

java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.fault.tolerance.tck.illegalConfig.IncompatibleFallbackMethodTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

public class IncompatibleFallbackMethodTest extends org.jboss.arquillian.testng.Arquillian
  • 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.jboss.shrinkwrap.api.spec.WebArchive
     
    void
    Test that the deployment of a FallbackHandler with an invalid Fallback Method leads to a DeploymentException.

    Methods inherited from class org.jboss.arquillian.testng.Arquillian

    arquillianAfterClass, arquillianAfterSuite, arquillianAfterTest, arquillianArgumentProvider, arquillianBeforeClass, arquillianBeforeSuite, arquillianBeforeTest, run

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IncompatibleFallbackMethodTest

      public IncompatibleFallbackMethodTest()
  • Method Details

    • deployAnotherApp

      @Deployment @ShouldThrowException(org.eclipse.microprofile.faulttolerance.exceptions.FaultToleranceDefinitionException.class) public static org.jboss.shrinkwrap.api.spec.WebArchive deployAnotherApp()
    • test

      public void test()
      Test that the deployment of a FallbackHandler with an invalid Fallback Method leads to a DeploymentException. A Service is annotated with the IncompatibleFallbackMethodHandler. While the Service returns an Integer, the IncompatibleFallbackMethodHandler's Fallback Method returns a String.