But I've already set the InternalsVisibleTo attribute of the assembly that
is being tested to point the test project.

2008/11/11 Ayende Rahien <[EMAIL PROTECTED]>

> Because if the method is internal, we cannot override it.You can either
> change it to internal protected or set InternalsVisibleTo
>
>
> On Tue, Nov 11, 2008 at 11:14 AM, Vitaly <[EMAIL PROTECTED]> wrote:
>
>>
>> Hi,
>>
>> I have an abstract class I need to test. The class have the internal
>> abstract DoSomething method. When I call
>> MockRepository.PartialMock<MyClass>() I get TypeLoadException that
>> says that DoSomething doesn't have an implementation. However when I
>> change the method to be public the exception is not thrown. Why is
>> that?
>>
>> Thanks,
>> Vitaly
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to RhinoMocks@googlegroups.com
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