public void Test_RefResults() { var intRef1 = Class19.Method19(); Assert.AreEqual(123, intRef1); var harmony = new Harmony("test"); var processor = new PatchClassProcessor(harmony, typeof(Class19Patch)); var patches = processor.Patch(); Assert.NotNull(patches, "patches"); Assert.AreEqual(1, patches.Count); var intRef2 = Class19.Method19(); Assert.AreEqual(456, intRef2); }