---
title: "Discussion on \"Mockito: ArgumentMatcher vs ArgumentCaptor\" | Hashnode"
description: "Discussion on \"Mockito: ArgumentMatcher vs ArgumentCaptor\". The two ways to mock your methods in"
url: "https://hashnode.com/posts/mockito-argumentmatcher-vs-argumentcaptor/634ff8fab287e69df44aede1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mockito: ArgumentMatcher vs ArgumentCaptor](https://blog.tejpratapsingh.com/mockito-argumentmatcher-vs-argumentcaptor?utm_source=hashnode&utm_medium=feed)

The two ways to mock your methods in

Oct 19, 2022 · 3 min read · blog.tejpratapsingh.com  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#mockito](https://hashnode.com/tag/mockito)
-   [#java](https://hashnode.com/tag/java)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Tej Pratap Singh](https://hashnode.com/@tejpratap)

@tejpratap · Bangalore, IN

  
[View profile](https://hashnode.com/@tejpratap)

Developer

Code, Movies and code for movies

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
