>>>So, should I ask developer for PDB files or what should I do in order to debug the code using tests ?
>>
>>
>>Mock the dll....
>
>What exactly do you mean? Also, I do need the actual output of the Invoke1 call in order to proceed with the test.
I'm not going to write the code for you, but you can mock outside depencies for testing purposes. You eliminate classes outside of your control and feed the "mock" data to your test engine. I don't think you understand what "testing" really means. Here's the link:
http://nmock.sourceforge.net/