#19 Mock object type does not return the implementing interface

closed-works-for-me
nmock2 (11)
2
2008-01-13
2007-04-04
Gerd Saurer
No

Following Example:

Mockery mocks = new Mockery();
ITestType t = mocks.NewMock<ITestType>();

t.GetType().GetInterfaces()
returns not the ITestType interface

Discussion

  • Richard A. Holden III

    • labels: 474867 --> nmock2
    • priority: 5 --> 2
    • assigned_to: nobody --> aciddeath
     
  • Richard A. Holden III

    Logged In: YES
    user_id=591527
    Originator: NO

    Works for me based on a checkout of CVS, look for the fix in the RC2 coming soon.

     
  • Richard A. Holden III

    • status: open --> closed-works-for-me
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks