I am trying to mock internal class for unit tests, due to some circular dependency I will not be able to use interface of this class to mock it, I also added unit test assembly name (made sure I am using correct assembly name from properties) to AssemblyInfo.cs of this project with InternalsVisibleTo , also added AssemblyInfo to csproj using <Compile Include="Properties\AssemblyInfo.cs" />, this makes class visible to test file but its not visible for mocking
NotSupportedException: Type to mock must be an interface, a delegate, or a non-sealed, non-static class.
I want to create mock of this class to do setup on other method in this class which I am not testing