@@ -0,0 +1,1538 @@
+package ru.matevosyan;%0A%0Aimport org.junit.Test;%0A%0Aimport java.io.ByteArrayInputStream;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0A%0A/**%0A * Created for testing EvenAndOddNumber class%0A * Created on 09.02.2017.%0A * @since 1.0%0A * @author Matevosyan Vardan%0A * @version 1.0%0A */%0A%0Apublic class EvenAndOddNumberTest %7B%0A%0A    /**%0A     * whenNumberIsEvenThanReturnTrue test situation when number is even.%0A     * @throws IOException%0A     */%0A%0A    @Test%0A    public void whenNumberIsEvenThanReturnTrue() throws IOException %7B%0A        byte%5B%5D number = %7B1, 4, 3%7D;%0A        boolean actualCheckEvenAndOddNumber;%0A%0A        InputStream inputStream = new ByteArrayInputStream(number);%0A%0A        EvenAndOddNumber evenAndOddNumber = new EvenAndOddNumber();%0A%0A        actualCheckEvenAndOddNumber = evenAndOddNumber.isNumber(inputStream);%0A%0A        assertThat(actualCheckEvenAndOddNumber, is(true));%0A    %7D%0A%0A    /**%0A     * whenNumberIsEvenThanReturnTrue test situation when number is odd.%0A     * @throws IOException%0A     */%0A%0A    @Test%0A    public void whenNumberIsOddThanReturnFalse() throws IOException %7B%0A        byte%5B%5D number = %7B1, 1, 3%7D;%0A        boolean actualCheckEvenAndOddNumber;%0A%0A        InputStream inputStream = new ByteArrayInputStream(number);%0A%0A        EvenAndOddNumber evenAndOddNumber = new EvenAndOddNumber();%0A%0A        actualCheckEvenAndOddNumber = evenAndOddNumber.isNumber(inputStream);%0A%0A        assertThat(actualCheckEvenAndOddNumber, is(false));%0A%0A    %7D%0A%0A%7D

add EvenAndOddNumberTest for testing EvenAndOddNumber class