# Mocking Internal Interfaces with Moq

DevFeed: [Mocking Internal Interfaces with Moq](<https://devfeed.tech/articles/mocking-internal-interfaces-with-moq-21189.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2013/03/mocking-internal-interfaces-with-moq/>)

Published: 2013-03-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Mocking](<https://devfeed.tech/topics/mocking.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [interfaces](<https://devfeed.tech/topics/interfaces.md>)

Tags: [interface](<https://devfeed.tech/tags/interface.md>), [library](<https://devfeed.tech/tags/library.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [testing](<https://devfeed.tech/tags/testing.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>)

## AI overview

This tutorial explains how to test classes that use internal interfaces with Moq. It covers assembly visibility for tests and the additional InternalsVisibleTo configuration required for Moq-generated proxy classes, including a limitation for strongly named assemblies.

## Source excerpt

Lorem ipsum dolor sit amet