@@ -0,0 +1,592 @@
+package ru.job4j;%0A%0Aimport org.junit.Test;%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A* Test.%0A* %0A* @author ayuzyak%0A* @version 1%0A* @since 04.12.2016%0A*/%0Apublic class CalculateTest %7B%0A    /**%0A     * Test add.%0A     */%0A    @Test%0A    public void whenExecuteMainThenPrintToConsole() %7B%0A        ByteArrayOutputStream out = new ByteArrayOutputStream();%0A        System.setOut(new PrintStream(out));%0A        Calculate.main(null);%0A        assertThat(out.toString(), is(%22Hello World%5Cr%5Cn%22));%0A    %7D%0A%7D

add CalculateTest.java