---
title: "Discussion on \"Flexible Mock\" | Hashnode"
description: "Discussion on \"Flexible Mock\". Simplifying Apex Mocking with a flexible Stub class which can replace any “mockable” method call and argument combination."
url: "https://hashnode.com/posts/flexible-mock/62500d5a92d73e7055c15cc6"
---

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

Discussion

# [Flexible Mock](https://pragmaticbear.hashnode.dev/flexible-mock?utm_source=hashnode&utm_medium=feed)

Simplifying Apex Mocking with a flexible Stub class which can replace any “mockable” method call and argument combination.

Apr 8, 2022 · 6 min read · pragmaticbear.hashnode.dev  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)

## Written by

[Aleš Remta](https://hashnode.com/@PragmaticBear)

@PragmaticBear · Prague, Czech Republic

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

Code and care

I am a Salesforce developer .. not much more

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
