Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package silly;
- import org.junit.Test;
- public class ReallyDont {
- public boolean doIt() { return true; }
- public void reallyReally() {
- if ( !!!doIt() ) {
- System.out.println("I'm doing it");
- } else {
- System.out.println("Ok, I won't do it, *gawd*");
- }
- }
- @Test
- public void shouldReallyNotDoIt() {
- new ReallyDont().reallyReally();
- }
- }
Add Comment
Please, Sign In to add comment