Arquillian Container Test API 1.0.0.CR8

org.jboss.arquillian.container.test.api
Annotation Type ShouldThrowException


@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ShouldThrowException

Defines that @Deployment should cause exception of type value().
Adding this annotation will force @Deployment to be testable = false which will force @RunAsClient

Version:
$Revision: $
Author:
Aslak Knutsen

Required Element Summary
 Class<? extends Exception> value
           
 

Element Detail

value

public abstract Class<? extends Exception> value

Arquillian Container Test API 1.0.0.CR8

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.