Package org.hibernate.validator.internal.cdi

Examples of org.hibernate.validator.internal.cdi.InjectingConstraintValidatorFactory


  @Before
  @SuppressWarnings("unchecked")
  public void setUp() {
    beanManagerMock = createMock( BeanManager.class );
    constraintValidatorFactory = new InjectingConstraintValidatorFactory( beanManagerMock );
    annotatedTypeMock = createMock( AnnotatedType.class );
    injectionTargetMock = createMock( InjectionTarget.class );
    creationalContextMock = createMock( CreationalContext.class );
  }
View Full Code Here


  }

  @Test
  public void testNullBeanManager() {
    try {
      new InjectingConstraintValidatorFactory( null );
      fail();
    }
    catch ( IllegalArgumentException e ) {
      // success
    }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.cdi.InjectingConstraintValidatorFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.