public void assertOneOrMore ( final String propertyName , final PropertyList properties ) throws ValidationException { if ( properties . getProperties ( propertyName ) . size ( ) < 1 ) { throw new ValidationException ( ASSERT_ONE_OR_MORE_MESSAGE , new Object [ ] { propertyName } ) ; } }
Ensure a property occurs at least once .