Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ATest {
- public static final MyObject obj = new MyObject();
- public ATest() {
- System.out.println("shouldn't be changing: " + obj.hashCode());
- }
- @Test
- public void checkIt() {
- // test stuff
- }
- @Test
- public void checkItAgain() {
- // test stuff
- }
- }
Add Comment
Please, Sign In to add comment