public MFTestResults BaseClass2_Test()
 {
     Log.Comment("Tests a function declaration in a implementing class still");
     Log.Comment("works after child is cast as an implemented interface");
     if (BaseClassTestClass2.testMethod())
     {
         return(MFTestResults.Pass);
     }
     return(MFTestResults.Fail);
 }
            public static bool testMethod()
            {
                BaseClassTestClass2      MC   = new BaseClassTestClass2();
                BaseClassTestClass2_Base Test = (BaseClassTestClass2_Base)MC;

                if (Test.RetInt() == 2)
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
 public static bool testMethod()
 {
     BaseClassTestClass2 MC = new BaseClassTestClass2();
     BaseClassTestClass2_Base Test = (BaseClassTestClass2_Base)MC;
     if (Test.RetInt() == 2)
     {
         return true;
     }
     else
     {
         return false;
     }
 }
 public void BaseClass2_Test()
 {
     OutputHelper.WriteLine("Tests a function declaration in a implementing class still");
     OutputHelper.WriteLine("works after child is cast as an implemented interface");
     Assert.True(BaseClassTestClass2.testMethod());
 }