-
We are seeing some rare null refs come from Moq: original issue: https://github.com/aspnet/Identity/issues/1912
```
var store = new Mock();
var mgr = new Mock(store.Object, null, null, null, null…
HaoK updated
2 months ago
-
I have a question about the significance of the order of the `Setup` statements.
I was converting a large amount of tests (~3000) from Rhino Mocks to Moq and some of my tests were failing because o…
-
VerifyAll() fails for setups that weren't created following the upgrade. In particular, any mock made from an interface containing a get-only property fails on not satisfying a set on that property. A…
-
**NOTE:** this **is not** a dupe of #1148 - my problem code **is not** using generics.
Apologies in advance if this is unclear - the tests in the repro solution I've attached should be more eloquen…
-
I have noticed a change between Moq 4.1.1 and 4.2.1.
In Moq 4.1.1, when creating a `new Mock()`, the generated proxy type would not do anything special for non-virtual methods.
In Moq 4.2.1, t…
-
Trying to test code that uses a service that returns `ReadOnlySpan` doesn't seem possible.
Using Moq Version 4.10.1
I've created a repo that reproduces the issue - https://github.com/wessiyad/mo…
-
`System.TypeLoadException : Could not load type 'Castle.Core.Internal.CollectionExtensions' from assembly 'Castle.Core, Version=5.0.0.0` after updating from Moq 4.18.3 to Moq 4.18.4
-
**Describe the bug**
Trying to use DeepSpeed Inference with int8 does not work for GPTJ. I get created an issue that has more details on the DeepSpeed MII repo, but due to the nature of the issue, I…
-
Install-Package : Could not install package 'Moq 4.2.1312.1622'. You are trying to install this package into a project that targets '.NETCore,Version=v4.5.1', but the package does not contain any asse…
-
The call to Verify() raises a NullReferenceException when trying to format Performed Invocations with the following setup :
```
Mock mockDbContext = new Mock();
Mock mockDbSet = new Mock();
mock…