Skip to content

Instantly share code, notes, and snippets.

@heim
Created December 19, 2011 13:26
Show Gist options
  • Save heim/1497222 to your computer and use it in GitHub Desktop.
Save heim/1497222 to your computer and use it in GitHub Desktop.
Ikke en test
public void testSave() {
Currency currency = new Currency();
_templateMock.expects(once()).method("merge").with(same(currency));
_currencyDAO.save(currency);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment