Package org.hibernate.validator.test.internal.engine.valuehandling.model

Examples of org.hibernate.validator.test.internal.engine.valuehandling.model.StringProperty


  @Test
  public void shouldUnwrapPropertyValuesDuringValueValidation() {
    Set<ConstraintViolation<Customer>> violations = validator.validateValue(
        Customer.class,
        "name",
        new StringProperty( "Bob" )
    );
    assertEquals( violations.size(), 1 );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.test.internal.engine.valuehandling.model.StringProperty

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.