@@ -0,0 +1,553 @@
+package ru.nivanov;%0A%0Aimport org.junit.Test;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.junit.Assert.*;%0A%0Apublic class SubOriginTest %7B%0A%09%0A%09@Test%0A%09public void whenSubIsSubstringThenReturnTrue() %7B%0A%09String str1 = %22abcdef%22;%0A%09String str2 = %22cde%22;%0A%09SubOrigin res0 = new SubOrigin();%0A%09assertThat(res0.contains (str1,str2), is (true)); %0A%09%7D%09%0A%09%0A%09@Test%0A%09public void whenSubIsNotSubstringThenReturnFalse() %7B%0A%09String str3 = %22abcdef%22;%0A%09String str4 = %22cdf%22;%0A%09SubOrigin res1 = new SubOrigin();%0A%09assertThat(res1.contains (str3,str4), is (false)); %0A%09%7D%09%0A%09%0A%09%0A%09%0A%7D

add SubOrigin test