@@ -0,0 +1,1602 @@
+package ru.sbulygin;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.assertThat;%0A%0A%0A/**%0A* Test.%0A*%0A* @author Sergey Bulygin (sergteletrade@gmail.com).%0A* @version 1.0.%0A* @since 23.12.2016.%0A*/%0A%0A/**%0A * Test class for class SubstringSearch.%0A */%0Apublic class SubstringSearchTest %7B%0A%0A    /**%0A    * Testing method contains().%0A    * When the substring is 3 characters.%0A    */%0A    @Test%0A    public void whenStringFromAToZContainsSubstringMnoThenResultTrue() %7B%0A        final SubstringSearch testArr = new SubstringSearch();%0A        String tempArrayOrigin = %22abcdefghijklmnopqrstuvwxyz%22;%0A        String tempArraySub = %22mno%22;%0A        assertThat(testArr.contains(tempArrayOrigin, tempArraySub), is(true));%0A    %7D%0A%0A    /**%0A    * Testing method contains().%0A    * When the substring is 6 characters.%0A    */%0A    @Test%0A    public void whenStringFromAToZContainsSubstringKlmnopThenResultTrue() %7B%0A        final SubstringSearch testArr = new SubstringSearch();%0A        String tempArrayOrigin = %22abcdefghijklmnopqrstuvwxyz%22;%0A        String tempArraySub = %22klmnop%22;%0A        assertThat(testArr.contains(tempArrayOrigin, tempArraySub), is(true));%0A    %7D%0A%0A    /**%0A    * Testing method contains().%0A    * When it does not contain the substring.%0A    */%0A    @Test%0A    public void whenStringFromAToZContainsSubstringFghwThenResultFalse() %7B%0A        final SubstringSearch testArr = new SubstringSearch();%0A        String tempArrayOrigin = %22abcdefghijklmnopqrstuvwxyz%22;%0A        String tempArraySub = %22fghw%22;%0A        assertThat(testArr.contains(tempArrayOrigin, tempArraySub), is(false));%0A    %7D%0A %7D

add 23.12