@@ -0,0 +1,1218 @@
+package ru.sbulygin;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.LinkedList;%0Aimport java.util.TreeSet;%0A%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0A/**%0A * Created by sjbul on 4/11/17.%0A */%0Apublic class CollectionsTestTest %7B%0A%0A    private final int elementAdd = 2000000;%0A%0A    private final int elementRemove = 1800000;%0A%0A    private String lineTest = %22elementTest%22;%0A%0A    private long testTimeAdd;%0A%0A    private long testTimeRemove;%0A%0A%0A%0A%0A    @Test%0A    public void whenUsedCollectionAddAndRemoveThenExpectedSize() throws Exception %7B%0A        ArrayList%3CString%3E testArrayList = new ArrayList%3C%3E();%0A        LinkedList%3CString%3E testLinkedList = new LinkedList%3C%3E();%0A        TreeSet%3CString%3E testTreeSet = new TreeSet%3C%3E();%0A        CollectionsTest collectionsTest = new CollectionsTest();%0A        testTimeAdd = collectionsTest.add(testArrayList, lineTest, elementAdd);%0A        testTimeRemove = collectionsTest.delete(testArrayList, elementRemove);%0A        assertThat(testArrayList.size(), is(elementAdd - elementRemove ));%0A    %7D%0A%0A    @Test%0A    public void delete() throws Exception %7B%0A        LinkedList%3CString%3E testLinkedList = new LinkedList%3C%3E();%0A    %7D%0A%0A%7D

add test class CollectionTestTest #1