Created
June 8, 2017 13:10
-
-
Save vyo/e5f2f2a727103d1ac0009d21a161d81a 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
private EchoController echoController; | |
// ... | |
@Before | |
public void setup() { | |
initMocks(this); | |
when(echoService.reverse(eq("input"))).thenReturn("tupni"); | |
echoController = new EchoController(echoService); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment