Пример #1
0
        public void GetMethod_StaticVoid()
        {
            var member = NormalizingMemberInfoFromExpressionUtility.GetMethod(() => DomainType.StaticVoidMethod());

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

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