---
title: "Discussion on \"Code Smell 30 - Mocking Business\" | Hashnode"
description: "Discussion on \"Code Smell 30 - Mocking Business\". Mocking is a great aid when testing behavior. Like with many other tools, we are abusing them.\nProblems\n\nComplexity\n\nFalse sense of security.\n\nParallel/Paired objects (Real and Mocks)\n\nMaintainability\n\n\nSolutions\n\nMock just non-business entities.\n\nRe..."
url: "https://hashnode.com/posts/code-smell-30-mocking-business/5fb886220ae19203f6d9249b"
---

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

Discussion

# [Code Smell 30 - Mocking Business](https://maximilianocontieri.com/code-smell-30-mocking-business?utm_source=hashnode&utm_medium=feed)

Mocking is a great aid when testing behavior. Like with many other tools, we are abusing them. Problems Complexity False sense of security. Parallel/Paired objects (Real and Mocks) Maintainability Solutions Mock just non-business entities. Re...

Nov 21, 2020 · 1 min read · maximilianocontieri.com  
Updated Jun 7, 2021  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#code-smell-1](https://hashnode.com/tag/code-smell-1)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Maxi Contieri](https://hashnode.com/@mcsee)

@mcsee · Buenos Aires

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

Software Engineer

I’m a senior software engineer loving clean code, and declarative designs. S.O.L.I.D. and agile methodologies fan.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
