@@ -0,0 +1,830 @@
+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%09*Class Calculate %D1%80%D0%B5%D1%88%D0%B5%D0%BD%D0%B8%D0%B5 %D0%B7%D0%B0%D0%B4%D0%B0%D1%87%D0%B8 %D1%87%D0%B0%D1%81%D1%82%D0%B8 001 %D1%83%D1%80%D0%BE%D0%BA 1.%0A%09*@author kisil%0A%09*since 15.02.2017%0A*/%0Apublic class CalculateTest %7B%0A    /**%0A     * Test add.%0A     */%0A    @Test%0A    public void whenAddOneToOneThenTwo() %7B%0A        ByteArrayOutputStream out = new ByteArrayOutputStream();%0A        System.setOut(new PrintStream(out));%0A        Calculate.main(null);%0A        assertThat(%0A                out.toString(),%0A                is(%0A                        String.format(%0A                                %22Hello World%25s%22,%0A                                System.getProperty(%22line.separator%22)%0A                        )%0A                )%0A        );%0A    %7D%0A%7D

test test test