add hunterxhunter

This commit is contained in:
2022-09-12 10:37:43 +07:00
parent c07ace3202
commit 6b029667eb
2 changed files with 7 additions and 0 deletions

View File

@@ -13,4 +13,7 @@ public class Welcomer{
public String saySome(){
return "something in the way";
}
public String sayHunter(){
return "hunter x hunter"
}
}

View File

@@ -30,4 +30,8 @@ public class WelcomerTest {
public void welcomerSaysSomething(){
assertThat(welcomer.saySome(), containsString("something"));
}
@Test
public void welcomerSaysHunter(){
assertThat(welcomer.sayHunter(), containsString("hunter"))
}
}