public void TestNullStringParameter() { Assert.Throws(typeof(ArgumentNullException), () => { ContractExtensionMetadataAttribute attribute = new ContractExtensionMetadataAttribute(null); }); }
public void TestFunctionNames(string name) { var attribute = new ContractExtensionMetadataAttribute(name); Assert.Equal(name, attribute.FunctionName); }