I have the following code in c#:
public class MyChildClass : AbstractBaseClass
public void myMethod()
I have to write a unit test for the above code using MSTest. Here, baseClassMethodCall() fails with error message, "System.NullReferenceException: Object reference not set to an instance of an object."
I cannot change anything in the base class as it is a predefined class with the protected constructor.
Is there a way to bypass the base class method call and continue testing the next line? Maybe by using mocks or shims?