mirror of
https://github.com/Dannecron/netology-devops-teamcity-example.git
synced 2025-12-25 15:22:35 +03:00
some add
This commit is contained in:
@@ -7,4 +7,7 @@ public class Welcomer{
|
||||
public String sayFarewell() {
|
||||
return "Farewell, good hunter. May you find your worth in waking world.";
|
||||
}
|
||||
public String saySome(){
|
||||
return "Some";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,5 +22,9 @@ public class WelcomerTest {
|
||||
assertThat(welcomer.sayWelcome(), containsString("hunter"));
|
||||
assertThat(welcomer.sayFarewell(), containsString("hunter"));
|
||||
}
|
||||
@Test
|
||||
public void welcomerSaysSome(){
|
||||
assertThat(welcomer.saySome(), containsString("Another"));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user