If you define an interface like:
interface ITest
{
uint GetValue();
}
an try to create a Mock object like:
mocks = new Mockery();
mock = mocks.NewMock<ITest>();
you get an exception by testing with NUnit.
System.TypeLoadException : Access is denied: 'MockTest.Test'.
Nobody/Anonymous ( nobody ) - 2007-06-20 11:40
5
Closed
Wont Fix
Nobody/Anonymous
None
None
Public
|
Date: 2007-10-12 20:13
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-10-12 20:13 | scmitcham |
| resolution_id | None | 2007-10-12 20:13 | scmitcham |
| close_date | - | 2007-10-12 20:13 | scmitcham |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use