Last active
August 29, 2015 14:09
-
-
Save bufferings/5a1f36629f061269a8a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class QuizTest { | |
static class String { | |
public String(java.lang.String ignore) { | |
} | |
public boolean equals(Object anObject) { | |
return true; | |
} | |
} | |
@Test | |
public void test2() throws Exception { | |
final String abc = new String("abc"); | |
final String def = new String("def"); | |
assertThat(abc, is(def)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment