How to verify that private generic method was called?

110 views Asked by At

I need to check whether private generic method was called with particular parameter type.

(Just stop thinking of telling me it's a bad practice to test private methods.)

Isolate.Verify.NonPublic.WasCalled()

has no overloads for specifying type parameters.

Is such verification possible?

Update

Since 7.5.2 API for this verification was added.

Here is the discussion.

1

There are 1 answers

0
Pavel Voronin On BEST ANSWER

Since Typemock v 7.5.2 API for this verification was added.

Here is the discussion.