@@ -0,0 +1,861 @@
+package by.vorokhobko.Exception;%0A%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0A//import org.junit.Assert;%0Aimport by.vorokhobko.Encapsulation.start.Tracker;%0A%0A/**%0A * Test.%0A *%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @version 1.%0A * @since 19.04.2017.%0A */%0A%0A public class MenuTrackerTestException %7B%0A    /**%0A     * Test Add.%0A     */%0A    @Test%0A    public void whenAddItemsWithMenuTracker() %7B%0A%09%09Tracker tracker = new Tracker();%0A        int key = 0;%0A        String exit = %22y%22;%0A        String name = %22testName%22;%0A        String desc = %22testDesc%22;%0A        String time = %2245%22;%0A        Input inputAdd  = new StubInput(new String%5B%5D%7BString.valueOf(key), name, desc, time, exit%7D);%0A        new StartUI(inputAdd).init(tracker);%0A        assertThat(tracker.findAll()%5B0%5D.getName(), is(%22testName%22));%0A%09%7D%0A %7D

add test MenuTrackerException