My C# code is using a class written in Java (IKVM). That Java class provides 2 methods that I am calling in my C# code:
- GetInstance() - It simply returns the instance of that Java class.
- GetSet() - returns a java.util.Set that I iterate over to do some processing.
We use NUnit and NMock and I am relatively new to mocking/stubbing, so I am quite confused on how to write unit test cases for this piece of C# code which will return a Java object etc.
Any help/pointers would be highly appreciated. Thanks.