@@ -0,0 +1,699 @@
+package ru.job4j;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A/**%0A * CounterTest class.%0A * @author ayuzyak.%0A * @version 1.%0A * @since 18.12.2016.%0A */%0Apublic class FactorialTest %7B%0A%0A    /**%0A     * Calculate factorial of 5%0A     */%0A    @Test%0A    public void whenFactorialIsFiveThenOneHundredAndTwenty() %7B%0A        Factorial factorial = new Factorial();%0A        assertThat(factorial.calculate(5), is(120));%0A    %7D%0A%0A    /**%0A     * Calculate factorial of 6%0A     */%0A    @Test%0A    public void whenFactorialIsSixThenSevenHundredAndTwenty() %7B%0A        Factorial factorial = new Factorial();%0A        assertThat(factorial.calculate(6), is(720));%0A    %7D%0A%7D

add FactorialTest.java