public void TwoParams_MergedParameterSignatures() { var basic = new BasicActionClass(); var methods = basic.GetType().GetMethods(); methods.FirstMethodOfName("IntIntParamAction").MergedParameterSignatures().Should().Be("Int32_Int32"); }
public void OneParam_MergedParameterSignatures() { var basic = new BasicActionClass(); var methods = basic.GetType().GetMethods(); methods.FirstMethodOfName("StringParamAction").MergedParameterSignatures().Should().Be("String"); methods.FirstMethodOfName("StringParamAction2").MergedParameterSignatures().Should().Be("String"); methods.FirstMethodOfName("IntParamAction").MergedParameterSignatures().Should().Be("Int32"); methods.FirstMethodOfName("ObjectParamAction").MergedParameterSignatures().Should().Be("Object"); }
public void NoParams_MergedParameterSignatures() { var basic = new BasicActionClass(); basic.FirstMethodOfName("NoParamAction").MergedParameterSignatures().Should().Be(""); }