@@ -0,0 +1,1487 @@
+package ru.revdaalex.oodocp;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0A%0A/**%0A * Test MenuValidator.%0A * Created by RevdaAlex on 19.06.2016.%0A */%0Apublic class MenuValidatorTest %7B%0A    /**%0A     * Test validMainMenu() method.%0A     */%0A    @Test%0A    public void checkWhenTheUserSelectsMenuItem()%7B%0A        MockIO mockIO = new MockIO(new String%5B%5D%7B%221%22%7D);%0A        MenuValidator menuValidator = new MenuValidator(mockIO);%0A        Assert.assertThat(menuValidator.validMainMenu(), is(1));%0A    %7D%0A%0A    /**%0A     * Test validCalcResultMenu() method.%0A     */%0A    @Test%0A    public void checkWhenTheUserSelectsOperator()%7B%0A        MockIO mockIO = new MockIO(new String%5B%5D%7B%223%22%7D);%0A        MenuValidator menuValidator = new MenuValidator(mockIO);%0A        Assert.assertThat(menuValidator.validCalcResultMenu(), is(3));%0A    %7D%0A%0A    /**%0A     * Test validEngineerMenu() method.%0A     */%0A    @Test%0A    public void checkWhenTheUserSelectEngineerMenu()%7B%0A        MockIO mockIO = new MockIO(new String%5B%5D%7B%227%22%7D);%0A        MenuValidator menuValidator = new MenuValidator(mockIO);%0A        Assert.assertThat(menuValidator.validEngineerMenu(), is(7));%0A    %7D%0A%0A    /**%0A     * Test validEngineerOperation() method.%0A     */%0A    @Test%0A    public void checkWhenUserSelectEngineerOperator()%7B%0A        MockIO mockIO = new MockIO(new String%5B%5D%7B%223%22%7D);%0A        MenuValidator menuValidator = new MenuValidator(mockIO);%0A        Assert.assertThat(menuValidator.validEngineerOperation(), is(3));%0A    %7D%0A%0A%7D

add MenuValidatorTest.java