    @Test
    void testMultiArrayObjectExceptions() {

        assertThrows(IllegalArgumentException.class, () -> MultiArray.wrap("Foo", 0, new int[] { 1, 2, 3 })); // elements no array
        assertThrows(IllegalArgumentException.class, () -> MultiArray.wrap("Foo", 0)); // elements no array
        assertThrows(IllegalArgumentException.class, () -> MultiArray.wrap(new String[] { "a", "b" }, 0, new int[] { 1, 2, 3 })); // elements smaller than dimensions
    }