@@ -0,0 +1,1027 @@
+package ru.revdaalex.oodsrp;%0A%0Aimport ru.revdaalex.oodsrp.interfaces.IO;%0A%0A/**%0A * MockIO implements IO interface.%0A * Created by revdaalex on 16.06.2016.%0A */%0Apublic class MockIO implements IO %7B%0A    /**%0A     * Answers index.%0A     */%0A    private int index = 0;%0A    /**%0A     * Answers collection.%0A     */%0A    private final String%5B%5D answers;%0A    /**%0A     * Output variable.%0A     */%0A    private final StringBuilder out = new StringBuilder();%0A%0A    /**%0A     * MockIO constructor.%0A     * @param answers answers.%0A     */%0A    public MockIO(String%5B%5D answers) %7B%0A        this.answers = answers;%0A    %7D%0A%0A    /**%0A     * Method read answers.%0A     * @return String answers.%0A     */%0A    public String read() %7B%0A        return this.answers%5Bindex++%5D;%0A    %7D%0A%0A    /**%0A     * Println method%0A     * @param value value.%0A     */%0A    public void println(Object value) %7B%0A        this.out.append(value).append(%22%5Cn%22);%0A    %7D%0A%0A    /**%0A     * Get output.%0A     * @return String output.%0A     */%0A    public String getOut()%7B%0A        return this.out.toString();%0A    %7D%0A%7D%0A

add MockIO.java