---
title: "Discussion on \"NSubstitute from Moq\" | Hashnode"
description: "Discussion on \"NSubstitute from Moq\". Transition from Moq to NSubstitute: concise guide with examples for mocking, returning values, and verifying method calls in both libraries"
url: "https://hashnode.com/posts/nsubstitute-from-moq/64e469270d10315abcf0c632"
---

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

Discussion

# [NSubstitute from Moq](https://billy-mumby-dev.com/nsubstitute-from-moq?utm_source=hashnode&utm_medium=feed)

Transition from Moq to NSubstitute: concise guide with examples for mocking, returning values, and verifying method calls in both libraries

Aug 22, 2023 · 8 min read · billy-mumby-dev.com  
Read the article

-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#unit-tests](https://hashnode.com/tag/unit-tests)
-   [#mocking](https://hashnode.com/tag/mocking)
-   [#nsubstitute](https://hashnode.com/tag/nsubstitute)
-   [#moq](https://hashnode.com/tag/moq)

## Written by

[Billy Mumby](https://hashnode.com/@mumby0168)

@mumby0168

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

I am a lead software engineer @ NEXT PLC working in .NET and Azure

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
