package ru.job4j.array;

import org.junit.Test;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

/**
* Test.
*
* @author Sergey Indyukov (mailto:onl.ont@mail.ri)
* @version $Id$
* @since 0.1
*/
public class SearchTest {
/**
* Test  searchSubInOrigin.
*/
    @Test
    public void searchSubInOrigin() {
		Search search = new Search();
		boolean a = true;
		boolean b = search.contains("Hello", "lo");
		assertThat(b, is(a));
    }
}
@@ -422,14 +422,455 @@
 ello
+job
 %22, %22lo
+jo%22);%0A%09%09assertThat(b, is(a));%0A    %7D%0A/**%0A* Test  searchSubInOrigin.%0A*/%0A    @Test%0A    public void searchSubInOrigin2() %7B%0A%09%09Search search = new Search();%0A%09%09boolean a = false;%0A%09%09boolean b = search.contains(%22Hellojob%22, %22lojobo%22);%0A%09%09assertThat(b, is(a));%0A    %7D%0A/**%0A* Test  searchSubInOrigin.%0A*/%0A    @Test%0A    public void searchSubInOrigin3() %7B%0A%09%09Search search = new Search();%0A%09%09boolean a = true;%0A%09%09boolean b = search.contains(%22Hellojob%22, %22lojob
 %22);%0A

task 228