Skip to content

Instantly share code, notes, and snippets.

@DominikMostek
Created July 19, 2022 07:46
Show Gist options
  • Save DominikMostek/3a5a60d639bbb8106cfdbe39cd10f4b0 to your computer and use it in GitHub Desktop.
Save DominikMostek/3a5a60d639bbb8106cfdbe39cd10f4b0 to your computer and use it in GitHub Desktop.
HugeIface mock = mock(HugeIface.class);
doReturn(5).when(mock).fooBar();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment