mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 15:22:35 +03:00
Merge branch 'feature/add_reply'
This commit is contained in:
@@ -13,4 +13,7 @@ public class Welcomer{
|
||||
public String saySome(){
|
||||
return "something in the way";
|
||||
}
|
||||
public String sayHunter(){
|
||||
return "hunter x hunter";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,8 @@ public class WelcomerTest {
|
||||
public void welcomerSaysSomething(){
|
||||
assertThat(welcomer.saySome(), containsString("something"));
|
||||
}
|
||||
@Test
|
||||
public void welcomerSaysHunterXHunter(){
|
||||
assertThat(welcomer.sayHunter(), containsString("hunter"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user