Skip to content

Instantly share code, notes, and snippets.

@eyalgo
Created February 16, 2014 21:45
Show Gist options
  • Save eyalgo/9041081 to your computer and use it in GitHub Desktop.
Save eyalgo/9041081 to your computer and use it in GitHub Desktop.
Item item = mock(Item.class);
when(item.getSingleValue("the-key")).thenReturn("the single value");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment