4 Answers, 1 is accepted
JustMock supports mocking of non-virtual methods, but only when the profiler is enabled. Non-virtual method mocking is not available in JustMock Lite.
Public methods are mocked using the Mock.Arrange(() => ...) syntax. Both private and protected methods are mocked using Mock.NonPublic.Arrange(...). I don't understand how you came to the conclusion that only private methods are supported. Maybe you can share a snippet showing what you're trying to accomplish?
Thanks for your answer. I didn't notice this capability before and I thought that shd work the same as for mocking private methods (i.e. using the method name). It's OK now
You have to use the full version of the product, for more information about the supported features, please refer to the feature comparison matrix. On this page, you can also find a link for downloading a free trial.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.