# Mockito Made Clear: Replace when with mock (page 25)

**URL:** <https://forum.devtalk.com/t/mockito-made-clear-replace-when-with-mock-page-25/111224>\
**Category:** PragProg Customers\
**Tags:** erata, book-mockito-made-clear\
**Created:** [1 June 2023 21:32 UTC](https://forum.devtalk.com/t/mockito-made-clear-replace-when-with-mock-page-25/111224 "2023-06-01T21:32:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jucosorin](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/j/ee59a6/32.png) [@jucosorin](https://forum.devtalk.com/u/jucosorin)\
**Post date:** [1 June 2023 21:32 UTC](https://forum.devtalk.com/t/mockito-made-clear-replace-when-with-mock-page-25/111224/1 "2023-06-01T21:32:04Z")

</div>

@kenkousen

On page 25, in the paragraph that starts with “Regardless of whether you use the _when_ method…”, _mock_ should be used instead of _when_

Thank you.
