Hi Chao,
unfortunately I wasn't able to reproduce your problem - it runs fine under
'my' code base - https://github.com/alaendle/rhino-mocks
Br,
Andreas
Am Freitag, 12. Dezember 2014 03:35:03 UTC+1 schrieb chao tian:
>
> Stub() throws MissingMethodException: Constructor on type
> 'Task`1Proxy4954f20fb2d640d5a07ecbd60e27a719' not found. This is a very
> basic scenario that should just work. Does anyone know why?
>
> public interface ITest
> {
> Task<int> GetValue();
> }
>
> ITest test = MockRepository.GenerateMock<ITest>();
> test.Stub(x => x.GetValue());
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Rhino.Mocks" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rhinomocks.
For more options, visit https://groups.google.com/d/optout.