    @Test
    public void validateInvalidNestedNullProperty() {

        RootBean rootBean = new RootBean();
        NestedBean nestedBean = new NestedBean();
        rootBean.setNestedBean(nestedBean);

        Set<ConstraintViolation<RootBean>> violations = validation.validateProperty(rootBean, "nestedBean.property");
        Assert.assertTrue(violations.size() == 1);
    }