1

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.

4

1 回答 1

0

自 Typemock v 7.5.2 API 以来,添加了用于此验证的 API。

这里是讨论

于 2014-08-04T09:42:10.387 回答