Example #1
0
        public void GetMethodBase_Wrong()
        {
            var thisMethod = ModUtils.GetMethodBase <Utils>("");

            thisMethod.Should().BeNull();
        }
Example #2
0
        public void GetMethodBase_Correct()
        {
            var thisMethod = ModUtils.GetMethodBase <Utils>("System.Void LocalizerTest.Utils::GetMethodBase_Correct()");

            thisMethod.Name.Should().Be(nameof(GetMethodBase_Correct));
        }