@Test
public void testConvert__array() {

    // dane wejsciowe
    Object[][] arrays = {
        {1L, 2L, 3L},
        {}
    };
    // oczekiwane rezultaty
    Object[][] expectations = {
        new IntegerHolder[]{new IntegerHolder(1L), new IntegerHolder(2L), new IntegerHolder(3L)},
        new IntegerHolder[]{}
    };
    // wykonanie testow
    for (int i = 0; i < arrays.length; i++) {
        Object[] array = arrays[i];
        IntegerHolder[] expected = (IntegerHolder[]) expectations[i];
        ValueHolder[] result = TypeDecoder.convert(type, array);
        checkArrays(expected, result);
    }
}