package ru.job4j;

import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import static org.hamcrest.core.ls.is;
import static org.junit.Assert.assertThat;

/**
*Test.
*
*@author Dmitriy Bobrov (mailto:bobrov.dmitriy@gmail.com)
*@version $id$
*@since 0.1
*/
/**
*Test.add/
*/
@Test
public class CalculateTest {
	ByteArrayOutputStream out = new ByteArrayOutputStream();
	System.setOut(new PrintStream(out));
	Calculate.main(null);
	assertThat(out.toString(),is(String.format("Hello World%s",System.getProperty("line.separator"))));
}
@@ -285,16 +285,45 @@
  0.1%0A*/%0A
+public class CalculateTest %7B%0A
 /**%0A*Tes
@@ -336,40 +336,52 @@
 %0A*/%0A
+%09
 @Test%0A
+%09
 public 
-class CalculateTest
+void whenAddOneToOneThenTwo()
  %7B%0A%09

Task 1.4.1 Junit