Created
November 30, 2011 09:19
-
-
Save josefbetancourt/1408493 to your computer and use it in GitHub Desktop.
Sample class for illustrating unit testing
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 Fubar { | |
private boolean launch = true; | |
public void getLaunch(){ | |
return this.launch; | |
} | |
public void setLaunch(boolean launch){ | |
/* this.launch = launch; */ // broken! | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment