Hi,
The problem is a little more complex, I probably didnt explain it too well sorry.
Anyway, what exactly I am trying to do is to pass a mock (in the ctor) to another class being tested.
the issue is that both classes (the one being tested and the one I want to mock) are internal and therefore they both need to be created using the accessor classes (in MS-Team).
Ive tried several things with reflective mock and all led to an exception being thrown by the inner methods called by the MS_Team (he tries to cast from MockObject to the class being mocked).
is there a way to achieve this in reflective mocks?
let me know if more info is needed.
thanx