@@ -0,0 +1,602 @@
+package ru.alexandr;%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 Alexandr Golubev (deed27@narod.ru)%0A* @version $Id$%0A* since 0.1%0A*/%0Apublic class CalculateTest %7B%0A%09/**%0A%09* Test add.%0A%09*/%0A%09@Test%0A    public void whenExecuteMainThenPrintToConsole() %7B%0A%09    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%0A%0A

add structure