@@ -0,0 +1,976 @@
+package ru.matevosyan;%0A%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0A/**%0A * Created SortFile for testing sort big file and write it to a new file.%0A * Created on 19.02.2017.%0A * @since 1.0%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class ConsoleChatTest %7B%0A%0A    private static String pathSource;%0A    private static File sourceFile;%0A%0A    /**%0A     * execute all common variable before start testing class methods, that use anywhere in the class.%0A     * @throws IOException when path to a file is invalid.%0A     */%0A%0A    @BeforeClass%0A    public static void executeSameVariable() throws IOException %7B%0A%0A        pathSource = %22C:%5C%5CUsers%5C%5CAdmin%5C%5CDesktop%5C%5CAbbat.txt%22;%0A        sourceFile = new File(pathSource);%0A%0A    %7D%0A%0A    /**%0A     * testing files size.%0A     */%0A%0A    @Test%0A    public void whenWriteThenGet() %7B%0A        ConsoleChat consoleChat = new ConsoleChat(sourceFile);%0A        consoleChat.readUserData();%0A    %7D%0A%0A%7D

add ConsoleChatTest