private void AssertParameter(ParameterDescriptor descriptor, string name, object value) { Assert.That(descriptor.IsConstant, Is.True); Assert.That(descriptor.RawName, Is.EqualTo(name)); Assert.That(descriptor.ValueEvaluator(null), Is.EqualTo(value)); Assert.That(descriptor.ParameterInfo.Name, Is.EqualTo(name)); }