change testclassfile

This commit is contained in:
Alexey Metlyakov
2021-03-14 16:40:29 +03:00
parent be448400d2
commit 173baec2fc

View File

@@ -0,0 +1,17 @@
package hello;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.*;
import org.junit.Test;
public class WelcomerTest {
private Welcomer welcomer = new Welcomer();
@Test
public void welcomerSaysWelcome() {
assertThat(welcomer.sayWelcome(), containsString("Welcome"));
}
}