@@ -0,0 +1,956 @@
+package ru.job4j;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.Matchers.is;%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Task 4.1.1%0A * Test working iterator array%0A *%0A * @author Anton Vasilyuk on 03.06.2017.%0A * @version 1.0%0A * @since 0.1%0A */%0Apublic class IteratorArrayTest %7B%0A%0A    /**.%0A     * Test working iterator%0A     */%0A    @Test%0A    public void whenNeedGetAllElementFromMultidimensionalArray() %7B%0A        IteratorArray iter = new IteratorArray(new int%5B%5D%5B%5D %7B%7B1, 2%7D, %7B3, 4%7D%7D);%0A        int%5B%5D arrayResult = new int%5B4%5D;%0A        int%5B%5D check = %7B1, 2, 3, 4%7D;%0A        int num = 0;%0A%0A        for (int i = 0; i %3C arrayResult.length; i++) %7B%0A            arrayResult%5Bi%5D = (Integer) iter.next();%0A        %7D%0A        for (int i = 0; i %3C arrayResult.length; i++) %7B%0A            if (arrayResult%5Bi%5D != check%5Bi%5D) %7Bnum++;%7D%0A        %7D%0A%0A        boolean expect = true;%0A        boolean fact = false;%0A        if (num == 0) %7Bfact = true;%7D%0A        assertThat(fact, is(expect));%0A    %7D%0A%7D

add file for chapter_003_4.1.1