@@ -0,0 +1,569 @@
+package ru.sbulygin;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A* Test class Counter.%0A*%0A* @author Sergey Bulygin (sergteletrade@gmail.com).%0A* @version 1.0.%0A* @since 22.11.2016.%0A*/%0Apublic class CounterTest %7B%0A%0A    /**%0A    * Test add.%0A    *%0A    * %D0%A2%D0%B5%D1%81%D1%82 %D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D0%B0 add.%0A    */%0A    @Test%0A    public void whenAddStartAndFinishThenResultThirty() %7B%0A      Counter count = new Counter();%0A      final int result = count.add(0, 10);%0A      final int expectResult = 30;%0A      assertThat(result, is(expectResult));%0A  %7D%0A %7D

add CounterTest