Created
February 10, 2014 16:38
-
-
Save starmer/8919366 to your computer and use it in GitHub Desktop.
Help!
This file contains hidden or 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
| // Option 1 | |
| Pojo pojo = new Pojo(); | |
| pojo.setState("AWESOME"); | |
| assertEquals("AWESOME", pojo.setState()); | |
| ////////////////// or | |
| // Option 2 | |
| Pojo pojo = new Pojo(); | |
| String expected = "AWESOME"; | |
| pojo.setState(expected); | |
| assertEquals(expected, pojo.setState()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment