Merge branch 'feature/add_reply'

This commit is contained in:
2022-09-12 10:48:31 +07:00
2 changed files with 7 additions and 0 deletions

View File

@@ -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";
}
} }

View File

@@ -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"));
}
} }