@@ -0,0 +1,1425 @@
+package ru.job4j.list;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A * Test for ArrayContainer.%0A *%0A * @author Alexander Ivanov%0A * @since 12.04.2017%0A * @version 1.0%0A */%0Apublic class LinkedContainerTest %7B%0A    /**%0A     * Test method add() and get().%0A     * Adding element and get it by index.%0A     */%0A    @Test%0A    public void whenAddElementThenGetIt() %7B%0A        LinkedContainer%3CInteger%3E container = new LinkedContainer%3C%3E();%0A        for (int i = 0; i %3C 100; i++) %7B%0A            container.add(i);%0A        %7D%0A        final Integer resultElement = container.get(50);%0A        final Integer checkElement = 50;%0A        assertThat(resultElement, is(checkElement));%0A    %7D%0A%0A    /**%0A     * Test method delete() and contains().%0A     * Delete element from container, get it and check for contains.%0A     */%0A    @Test%0A    public void whenDeleteElementThenReturnElementAndContainerReturnFalse() %7B%0A        LinkedContainer%3CInteger%3E container = new LinkedContainer%3C%3E();%0A        for (int i = 0; i %3C 15; i++) %7B%0A            container.add(i);%0A        %7D%0A        final Integer resultElement = container.remove(10);%0A        final Integer checkElement = 10;%0A        final boolean resultHasElement = container.contains(10);%0A        final boolean checkHasElement = false;%0A        assertThat(resultElement, is(checkElement));%0A        assertThat(resultHasElement, is(checkHasElement));%0A    %7D%0A%7D

Add collection tests