mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 15:22:35 +03:00
17 lines
324 B
Java
17 lines
324 B
Java
package plaindoll;
|
|
|
|
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"));
|
|
}
|
|
|
|
} |