mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 15:22:35 +03:00
add hunterxhunter
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 welcomerSaysHunter(){
|
||||||
|
assertThat(welcomer.sayHunter(), containsString("hunter"))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user