@@ -0,0 +1,494 @@
+package ru.matevosyan.lesson_5_Array;%0A%0Aimport static org.junit.Assert.*;%0Aimport static org.hamcrest.core.Is.is;%0Aimport org.junit.Test;%0A%0Apublic class DeleteDuplicateTest %7B%0A%0A%09@Test%0A%09public void whenDuplicateWasFindThenDeleteIt()%7B%0A%0A%09%09//assign%0A%09%09String%5B%5D mas = %7B%22First%22,%22Find%22,%22Fox%22,%22First%22,%22First%22%7D;%0A%09%09String%5B%5D masrotate = %7B%22First%22,%22Find%22,%22Fox%22,null,null%7D;%0A%0A%09%09DeleteDuplicate arr = new DeleteDuplicate();%0A%09%09String%5B%5D ar = arr.searchDuplicate(mas);%0A%09%09%0A%09%09//act%0A%09%09assertThat(ar, is(masrotate));%0A%0A%09%7D%0A%0A%7D

add DeleteDuplicateTest.java