@@ -0,0 +1,607 @@
+package by.vorokhobko.Encapsulation;%0A%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0Aimport by.vorokhobko.Encapsulation.models.Bug;%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 BugTest %7B%0A    /**%0A     * Test.%0A     */%0A    @Test%0A    public void whenInItemHaveBug() %7B%0A        Bug bug = new Bug(%22testName%22, %22testDesc%22, 5L);%0A        String name = %22nameTest2%22;%0A        bug.setName(name);%0A        String result = bug.getName();%0A        assertThat(result, is(name));%0A    %7D%0A%7D%0A

add class BugTest