All right,
As far as I see Rhino 3.6 AssertWasCalled with cannot be used in VB
without some headache.
The problem is in the overload list:
AssertWasCalled (action as Sub....
AssertWasCalled (action as Function(Mock, Object)....
VB Lambda expressions can not do either - only AssertWasCalled (action
as Function(Mock).... is allowed (yes, stupid VB)
The only work around is use something like that:
TestMock.AssertWasCalled(New Action(Of ITestMock)(Function(x)
x.TestFunc()), Function(o) o.Repeat.twice)
Too bad, the overload list was more "VB-friendly" in 3.5.
On Oct 30, 12:03 pm, Alex McMahon <
fluxmu...@gmail.com> wrote:
> ahh good, it's not just me then :)
>
> 2009/10/30 Tarpan <
tarpa...@gmail.com>: