What is the error you get?

Sent from my iPhone

On Dec 10, 2009, at 9:39 PM, Tarpan <[email protected]> wrote:

> Hi there,
>
> I like AAA syntax a lot, but using it in VB may be pain in a butt. I'm
> thinking to write a few extensions for RhinoMocks to support VB
> better, but first just wondering - maybe somebody can recommend a
> ready solution?
>
> Few examples:
>
> 1) AssertWasCalled for a Sub:
>   DataSaver.AssertWasCalled(Function(x) x.Save(Data))
>   looks easy but does not work in VB
>
> extension like this may help
>   DataSaver.AssertSubWasCalled(Of IDataObject)(AddressOf
> DataSaver.Save, Data)
>
> 2) Repeat
>   DataSaver.AssertWasCalled(Function(x) x.SaveFunc(Data), function(o)
> o.Repeat.Once)
>   looks easy but does not work in VB
>
> and probably few others VB issues
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "Rhino.Mocks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected] 
> .
> For more options, visit this group at 
> http://groups.google.com/group/rhinomocks?hl=en 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.


Reply via email to