@@ -0,0 +1,599 @@
+package ru.tsibrovskii.lesson1.Arrays;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0Apublic class RotateArrayTest %7B%0A%09%0A%09@Test%0A%09public void whenGiveArrayShouldReturnRotatedArray() %7B%0A%09%09%0A%09%09int%5B%5D%5B%5D basicarray = new int%5B%5D%5B%5D %7B%7B1, 2%7D,%0A%09%09%09%09%09%09%09%09%09%09  %7B3, 4%7D,%0A%09%09%09%09%09%09%09%09%09%09  %7B5, 6%7D,%0A%09%09%09%09%09%09%09%09%09%09  %7B7, 8%7D%7D;%0A%09%09int%5B%5D%5B%5D newarray = new int%5B%5D%5B%5D %7B%7B2, 4, 6, 8%7D,%0A%09%09%09%09%09%09%09%09%09%09%7B1, 3, 5, 7%7D%7D;%0A%09%09%0A%09%09RotateArray rotation = new RotateArray();%0A%09%09%0A%09%09int%5B%5D%5B%5D rotatedarray = rotation.rotate(basicarray);%0A%09%09%0A%09%09Assert.assertThat(rotatedarray, is(newarray));%0A%09%7D%0A%7D

add rotate test