@@ -0,0 +1,629 @@
+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 DuplicateStringTest %7B%0A%09%0A%09@Test%0A%09public void whenTakeArrayOfStringsShouldDeleteDuplicateStrings() %7B%0A%09%09%0A%09%09String%5B%5D values = new String%5B%5D %7B%22One%22, %22Two%22, %22One%22, %22Three%22, %22Four%22, %22Five%22, %22Two%22%7D;%0A%09%09String%5B%5D withoutduplicate = new String%5B%5D %7B%22One%22, %22Two%22, %22Three%22, %22Four%22, %22Five%22%7D;%0A%09%09%0A%09%09DuplicateString duplicate = new DuplicateString();%0A%09%09%0A%09%09String%5B%5D rezvalues = duplicate.duplicateDelete(values);%0A%09%09%0A%09%09Assert.assertThat(rezvalues, is(withoutduplicate));%0A%0A%09%7D%0A%7D

add duplicate test