private static Iterable<?> arrayToList( Object array ) {
        int length = Array.getLength( array );
        if( length == 0 ) {
            return Collections.emptyList();
        }
        List<Object> result = Lists.newArrayList();
        for( int i = 0; i < length; i++ ) {
            result.add( Array.get( array, i ) );
        }
        return result;
    }
The default implementation to format a table argument
jgiven-core/src/main/java/com/tngtech/jgiven/format/table/DefaultTableFormatter.java