Examples of ImplementationOfInterfaceAndSuperClassBothWithGroupConversionOnParameter


Examples of org.hibernate.beanvalidation.tck.tests.constraints.groups.groupconversion.service.impl.ImplementationOfInterfaceAndSuperClassBothWithGroupConversionOnParameter

      @SpecAssertion(section = "4.4.5", id = "h"),
      @SpecAssertion(section = "4.4.5", id = "j")
  })
  public void testGroupConversionGivenOnParameterInSuperClassAndImplementedInterface()
      throws Exception {
    Object object = new ImplementationOfInterfaceAndSuperClassBothWithGroupConversionOnParameter();
    Method method = ImplementationOfInterfaceAndSuperClassBothWithGroupConversionOnParameter.class
        .getMethod( "addUser", User.class );
    Object[] parameters = new Object[] { null };

    validator.forExecutables().validateParameters( object, method, parameters );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.