JarkoDubbeldam

Results comments of JarkoDubbeldam

I understand the reluctance. The reason I suggested it was that if the SUT does not dispose of the `IDisposable` mock itself, but Autofac. With Autofac in general the created...

> On the other hand, by specifying that you want Strict mocking rules, you're explicitly saying "I want to say exactly what is implemented and what isn't" It also means...

> Playing devil's advocate, I'm trying to imagine a use-case where a developer has defined a Dispose call for a mock, where the mock is only disposed by the container,...

Currently, the following test exists in the repo: ``` [Fact] public void DisposableStrictMocking() { using (var mock = AutoMock.GetStrict()) { // Should not throw on dispose of AutoMock. mock.Mock().Setup(x =>...

> I get that setting up Dispose seems like a pain, but if folks weren't using AutoMock and were setting up mocks manually, putting a disposable mock through a using...

(from the PR:) > > Would it make sense to make the same changes to RegisterMock? I noticed there were few tests covering that, so I left it alone for...

Similarly, this compiles for me on .NET framework 4.6: request.AddFile(param.Value.Name, param.Value.Writer, param.Value.FileName, param.Value.ContentLength, param.Value.ContentType); I'm wondering whether this is caused by a change in RestSharp or a bug in the...

Nevermind, this appears to be an issue not specific to this font.

That's not allowed in C#: ``` public class RuleResult { public string RuleResult { get; set; } } ``` ``` Severity Code Description Error CS0542 'RuleResult': member names cannot be...