package ru.ematveev.arraydublicate;

import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.*;
import static org.hamcrest.number.IsCloseTo.closeTo;


public class ArrayDublicateTest{
	@Test
	public void arrayDublicateTest(){
		ArrayDublicate array = new ArrayDublicate();
		String [] arr = new String []{"Света", "Женя", "Кристина", "Женя"};
		assertThat((array.arrayDublicate(arr)), is(new String[]
						{"Света", "Женя", "Кристина", null}));
}
}
add ArrayDublicateTest.java