I have a solution with two projects within:
Company.Project.vbproj
Company.Project.Tests.vbproj
Within the Company.Project.vbproj
assembly, I have a class FriendClass.vb
which scope is Friend (internal in C#)
.
Now I wish to test this FriendClass.vb
from within the Company.Project.Tests.vbproj
assembly. I know about the InternalsVisibleToAttribute
, but that is not an option in Visual Basic .NET 2.0, as it is only available with C#, in .NET 2.0 (see here).
I would like to create myself a proxy class using this internal FriendClass from within my testing assembly, so that I could instantiate it and do the testings accordingly.
Any idea or known practices to do so?
Thanks in advance! =)