---
title: "Discussion on \"Another mock example using StubWithCallback\" | Hashnode"
description: "Discussion on \"Another mock example using StubWithCallback\". Manual mock implementation"
url: "https://hashnode.com/posts/another-mock-example-using-stubwithcallback/62f5d2a469fa1793160be800"
---

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

Discussion

# [Another mock example using StubWithCallback](https://hyunwoochoi.hashnode.dev/another-mock-example-using-stubwithcallback?utm_source=hashnode&utm_medium=feed)

Manual mock implementation

Aug 12, 2022 · 2 min read · hyunwoochoi.hashnode.dev  
Updated Jul 8, 2023  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#ceedling](https://hashnode.com/tag/ceedling)
-   [#stub](https://hashnode.com/tag/stub)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#embedded-systems](https://hashnode.com/tag/embedded-systems)

## Written by

[Hyunwoo Choi](https://hashnode.com/@choi)

@choi · Minneapolis, MN

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

#firmware engineer #C/C++ #TDD #embedded system #ARM processor

## Responses 1

Markdown supported · ⌘↵ to post

[Leo Sun](https://hashnode.com/@sumary)

[Jul 7, 2023](https://hashnode.com/posts/another-mock-example-using-stubwithcallback/62f5d2a469fa1793160be800/comment/64a76698d6052e06fc16031e)

love your ceedling posts, please keep it going. didn't find "stubwithcallback" continuous posts, what have I missed?

[Hyunwoo Choi](https://hashnode.com/@choi)

[Jul 7, 2023](https://hashnode.com/posts/another-mock-example-using-stubwithcallback/62f5d2a469fa1793160be800/comment/64a76698d6052e06fc16031e#reply-64a7825fd6052e06fc16055d)

I was totally forgot about it. Thanks for letting me know. I am currently working on it!

[Leo Sun](https://hashnode.com/@sumary)

[Jul 8, 2023](https://hashnode.com/posts/another-mock-example-using-stubwithcallback/62f5d2a469fa1793160be800/comment/64a76698d6052e06fc16031e#reply-64a8b1daa25b10201445fbe8)

You are so kind. Thank you sir. [Hyunwoo Choi](https://hashnode.com/@choi)

[Hyunwoo Choi](https://hashnode.com/@choi)

[Jul 8, 2023](https://hashnode.com/posts/another-mock-example-using-stubwithcallback/62f5d2a469fa1793160be800/comment/64a76698d6052e06fc16031e#reply-64a8cbc1a25b10201445fd95)

[Leo Sun](https://hashnode.com/@sumary) You can check out the new post:[hyunwoochoi.hashnode.dev/tdd-you-can-write-code-w…](https://hyunwoochoi.hashnode.dev/tdd-you-can-write-code-without-actual-hardware-part-i)
