Class IncompatibleFallbackMethodWithArgsTest
java.lang.Object
org.jboss.arquillian.testng.Arquillian
org.eclipse.microprofile.fault.tolerance.tck.illegalConfig.IncompatibleFallbackMethodWithArgsTest
- All Implemented Interfaces:
org.testng.IHookable
,org.testng.ITestNGListener
public class IncompatibleFallbackMethodWithArgsTest
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.shrinkwrap.api.spec.WebArchive
void
test()
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
-
Constructor Details
-
IncompatibleFallbackMethodWithArgsTest
public IncompatibleFallbackMethodWithArgsTest()
-
-
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.
-