Merge pull request #9 from aragastmatb/feature/remove_no

remove no
This commit is contained in:
aragastmatb
2021-12-23 21:16:26 +03:00
committed by GitHub
2 changed files with 0 additions and 8 deletions

View File

@@ -7,7 +7,4 @@ public class Welcomer{
public String sayFarewell() { public String sayFarewell() {
return "Farewell, good hunter. May you find your worth in waking world."; return "Farewell, good hunter. May you find your worth in waking world.";
} }
public String sayNo() {
return "No";
}
} }

View File

@@ -22,9 +22,4 @@ public class WelcomerTest {
assertThat(welcomer.sayWelcome(), containsString("hunter")); assertThat(welcomer.sayWelcome(), containsString("hunter"));
assertThat(welcomer.sayFarewell(), containsString("hunter")); assertThat(welcomer.sayFarewell(), containsString("hunter"));
} }
@Test
public void welcomerSaysYes(){
assertThat(welcomer.sayNo(), containsString("No"));
}
} }