public void GlobalAssignmentExpressionStatementIsFieldOnType()
        {
            MyMethodSubstitutionBaseClass instance = (MyMethodSubstitutionBaseClass)assembly.CreateInstance("MethodSubstitutionBaseClass");

            FieldInfo fi = instance.GetType().GetField("variableThatShouldBecomeAField", BindingFlags.NonPublic | BindingFlags.Instance);

            Assert.NotNull(fi);
        }
        public void CanExecuteNewTypeAndGetCodeFromFile()
        {
            MyMethodSubstitutionBaseClass instance = (MyMethodSubstitutionBaseClass)assembly.CreateInstance("MethodSubstitutionBaseClass");

            instance.SomeAbstractMethod();
            instance.SomeVirtualMethod();
            Assert.Equal("abstract" + Environment.NewLine +
                         "virtual" + Environment.NewLine,
                         consoleOutput.GetStringBuilder().ToString());
        }