protected void assertArrayHasMinLengthAndAllElementsNotNull(final Object[] array, final Integer minLength) throws ArgumentCountException, ArgumentNullException  {

		if (array.length < minLength) {
			throw ArgumentCountException.tooFew(array.length, minLength);
		}

		for (final Object element : array) {

			if (element == null) {
				throw new ArgumentNullException();
			}
		}
	}
protected void assertArrayHasMinLengthAndAllElementsNotNull ( final Object [ ] array , final Integer minLength ) throws ArgumentCountException , ArgumentNullException { if ( array . length < minLength ) { throw ArgumentCountException . tooFew ( array . length , minLength ) ; } for ( final Object element : array ) { if ( element == null ) { throw new ArgumentNullException ( ) ; } } }
Test if the given object array has a minimum length and all its elements are not null.

@param array
@param minLength
@throws IllegalArgumentException in case of wrong number of parameters