Beispiel #1
0
        public void GetMethod_StaticVoid()
        {
            var member = NormalizingMemberInfoFromExpressionUtility.GetMethod(() => DomainType.StaticVoidMethod());

            var expected = typeof(DomainType).GetMethod("StaticVoidMethod");

            Assert.That(member, Is.EqualTo(expected));
        }
Beispiel #2
0
 public void GetGenericMethodDefinition_StaticVoid_NonGenericMethod()
 {
     NormalizingMemberInfoFromExpressionUtility.GetGenericMethodDefinition(() => DomainType.StaticVoidMethod());
 }