@@ -0,0 +1,1183 @@
+package ru.matevosyan;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.is;%0A%0A%0A/**%0A * NaturalNumberTest class.%0A * Created on 28.04.2017.%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class NaturalNumberTest %7B%0A%0A    /**%0A     * whenPassTwoDimensionSquareArrayThanIterateAndReturnTheSameValue was created to test two methods.%0A     * in %7B@link EvenNumber%7D. When passing square array, program iterate through all elements.%0A     * and return each of them, finally test check if our expected value is equal to actual value.%0A     */%0A%0A    @Test%0A    public void whenPassTwoDimensionSquareArrayThanIterateAndReturnTheSameValue() %7B%0A        int%5B%5D actualArray = new int%5B%5D%7B1, 2, 3, 4%7D;%0A        EvenNumber evenNumberIterator = new EvenNumber(actualArray);%0A%0A        ArrayList%3CInteger%3E actualValue = new ArrayList%3C%3E();%0A%0A        ArrayList%3CInteger%3E expected = new ArrayList%3C%3E();%0A        expected.add(2);%0A        expected.add(4);%0A%0A        while (evenNumberIterator.hasNext()) %7B%0A            actualValue.add(evenNumberIterator.next());%0A        %7D%0A%0A        assertThat(actualValue, is(expected));%0A    %7D%0A%0A%0A%7D

add NaturalNumberTest to the naturalNumbers