nsubstitute
NSubstitute intercepting "setter" only property invocation
With NSubstitute, is there any way to capture the value you pass to a property setter? E.g. if I have the following interface:[详细]
2023-04-10 22:30 分类:问答Function is called when I do not expect it to with NSubstitute
I am getting a behaviour I didnt expect from NSubstitute when setting up my mocks to call a function. A simplified version of the behavuiour is[详细]
2023-03-25 18:25 分类:问答NSubstitute 'Do' event not firing
I have an issue with NSubstitute compiling using its inference typing. When I set it up with more than a return type in my .Do() statement and then try and use a counter to see how many times it is ca[详细]
2023-03-09 23:22 分类:问答NSubstitute - Testing for a specific linq expression
I am using the repository pattern in an MVC 3 applicati开发者_StackOverflow社区on I am currently developing.My repository interface looks as follows:[详细]
2023-02-24 05:09 分类:问答Does NSubstitute support the idea of Partial Mocks?
Does NSubstitute support the idea of Partial Mocks? http://nsubstitute.github.com/ http://www.ayende.com/wiki/Rhino+Mocks+Partial+Mocks.as开发者_如何转开发hxUpdate: As @Brian points out, NSubstitute[详细]
2023-02-02 05:55 分类:问答Does NSubstitute support ref parameters?
I have the following method signature in my iterface: void SetItem(ref AddressItem item); I do a parameter constraint like this:[详细]
2023-01-17 17:19 分类:问答MYSQL Inner Join two table over two keys
I am doing a query to return all users shopping carts, stored in the sb_carts table. The product information stored in sb_carts is referenced over two keys product_sku and school_id. It needs to refer[详细]
2022-12-23 00:19 分类:问答How do I deploy applications in run as administrator mode?
How Do I deploy applications so that they require administrator rights witho开发者_如何学运维ut the end-user doing that by hand?[详细]
2022-12-22 22:23 分类:问答