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