public void Test_Class24() { var instance = new Harmony("test"); Assert.NotNull(instance, "instance"); var processor = new PatchClassProcessor(instance, typeof(Class24)); Assert.NotNull(processor, "processor"); _ = processor.Patch(); Class24.bool1 = null; Class24.bool2 = null; Class24.Method24(); Assert.NotNull(Class24.bool1, "bool1"); Assert.IsTrue(Class24.bool1.Value, "bool1.Value"); Assert.NotNull(Class24.bool2, "bool2"); Assert.IsTrue(Class24.bool2.Value, "bool2.Value"); }