3
내 테스트는 많은 리플렉션을 사용합니다.NSubstitute가 MethodInfo의 반환을 조롱 할 수 있습니까?
mock
.GetType().GetTypeInfo()
.GetProperty("SomePropertyName")
.GetValue(mock)
.Returns(someReturnValue); // NSubstitute does its thing here
어떻게이 MethodInfo
비슷한 일을합니까 : NSubstitute이 같은 반사 특성 (PropertyInfo
)을 조롱 할 수 있습니까? 이 같은