Created
September 22, 2010 01:51
-
-
Save marioaquino/590981 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 StubFoo implements Foo { | |
public boolean makeABarCalled; | |
public String makeABarHey; | |
public List makeABarNow; | |
public Bar makeABarReturn; | |
public BarClosedException makeABarException; | |
public Bar makeABar(String hey, List now) { | |
makeABarCalled = true; | |
makeABarHey = hey; | |
makeABarNow = now; | |
if (makeABarException != null) { | |
throw makeABarException; | |
} | |
return makeABarReturn; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment