public void GetMethod_StaticVoid() { var member = NormalizingMemberInfoFromExpressionUtility.GetMethod(() => DomainType.StaticVoidMethod()); var expected = typeof(DomainType).GetMethod("StaticVoidMethod"); Assert.That(member, Is.EqualTo(expected)); }
public void GetGenericMethodDefinition_StaticVoid_NonGenericMethod() { NormalizingMemberInfoFromExpressionUtility.GetGenericMethodDefinition(() => DomainType.StaticVoidMethod()); }