David Tchepak

Results 248 comments of David Tchepak

Example: ``` fsharp open FsCheck.Xunit open Fleece open Fleece.Operators open FSharpx.Choice open Xunit open Swensen.Unquote type Foo = { maybeStr : string option } with static member Create a =...

Not sure if it makes a difference, but our actual case is more like this: ``` fsharp type Bar = A | B with static member ToJSON (x : Bar)...

Hi @ursmeili , Sorry, this is not implemented. Do you have any time to attempt a PR?

NSubstitute 4.4.0 should include the fix for this. Could you please confirm?

Hi @cshu, Thanks for raising this. I understand that this is a bit confusing. Here is how [auto mocks](https://nsubstitute.github.io/help/auto-and-recursive-mocks/) work: > Once a substitute has been created some properties and...

Hi @DasOhmoff , We haven't implemented anything for this scenario (there is some discussion of strict checking in https://github.com/nsubstitute/NSubstitute/issues/219 that has some links to potential options). Would it be sufficient...

I think `ReceivedOnly` call would look more like this? ```csharp obj.ReceivedOnly(sub => sub.TestMethod("sampleString", 0, 1.0f)); ``` An example of the query model is this code: https://github.com/nsubstitute/NSubstitute/blob/master/src/NSubstitute/Received.cs The assertion used there...

> Anyway, I still think obj.ReceivedOnly().TestMethod("sampleString", 0, 1.0f); would be the most elegant and suiting solution for NSubstitute. > Is there a reason not to implement it? We already feel...

@zvirja > If you write some specs, it might be easier to implement the feature Guilty as charged! 😂 If this is in a separate section ("possibly related calls" rather...

@zvirja Good pick up. I like your suggestion, although would drop the `Substitute.` prefix as I think it should be obvious enough from the context. So just `[IFoo|02af7716].Method(args)`. We should...