@SpecVersion(spec = "beanvalidation", version = "1.1.0")
public class IncludeFieldLevelAnnotationsDueToBeanDefaultsTest extends Arquillian {
@Deployment
public static WebArchive createTestArchive() {
return new WebArchiveBuilder()
.withTestClass( IncludeFieldLevelAnnotationsDueToBeanDefaultsTest.class )
.withClasses( User.class, CreditCard.class )
.withValidationXml( "validation-IncludeFieldLevelAnnotationsDueToBeanDefaultsTest.xml" )
.withResource( "user-constraints-IncludeFieldLevelAnnotationsDueToBeanDefaultsTest.xml" )
.build();