@@ -0,0 +1,1223 @@
+package by.vorokhobko.Encapsulation;%0A%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0Aimport by.vorokhobko.Encapsulation.models.Item;%0Aimport org.junit.Test;%0A%0A/**%0A * Test.%0A *%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @version 1.%0A * @since 23.02.2017.%0A */%0Apublic class ItemTest %7B%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenItemReceivesNewName() %7B%0A        Item item = new Item(%22testName%22, %22testDesc%22, 05L);%0A        String name = %22nameTest2%22;%0A        item.setName(name);%0A        String result = item.getName();%0A        assertThat(result, is(name));%0A    %7D%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenItemReceivesNewDescription() %7B%0A        Item item = new Item(%22testName%22, %22testDesc%22, 05L);%0A        String desc = %22descTest2%22;%0A        item.setDescription(desc);%0A        String result = item.getDescription();%0A        assertThat(result, is(desc));%0A    %7D%0A    /**%0A     * @Test.%0A     */%0A    @Test%0A    public void whenItemReceivesNewCreate() %7B%0A        Item item = new Item(%22testName%22, %22testDesc%22, 05L);%0A        long create = 07L;%0A        item.setCreate(create);%0A        long result = item.getCreate();%0A        assertThat(result, is(create));%0A    %7D%0A%7D%0A

add class ItemTast