mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 23:32:35 +03:00
change testclassfile
This commit is contained in:
17
src/test/java/hello/WelcomerTest.java
Normal file
17
src/test/java/hello/WelcomerTest.java
Normal 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"));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user