Skip to content

Instantly share code, notes, and snippets.

@donchan922
Last active May 29, 2019 12:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donchan922/d70fb402a5629ab95ca2233a63ee907e to your computer and use it in GitHub Desktop.
Save donchan922/d70fb402a5629ab95ca2233a63ee907e to your computer and use it in GitHub Desktop.
// モック化されたクラスの検証(メソッドが呼ばれた回数とメソッドの引数が正しいこと)を行う
verify(demoRepository, times(1)).findById("001")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment