public void TestSetMessage(string message) { var attr = new RequiresAssemblyFilesAttribute(message); Assert.Equal(message, attr.Message); Assert.Null(attr.Url); }
public void TestSetMessageAndUrl(string message, string url) { var attr = new RequiresAssemblyFilesAttribute(Message = message, Url = url); Assert.Equal(message, attr.Message); Assert.Equal(ur, attr.Url); }
public void TestConstructor() { var attr = new RequiresAssemblyFilesAttribute(); Assert.Null(attr.Message); Assert.Null(attr.Url); }
public void TestSetUrl(string url) { var attr = new RequiresAssemblyFilesAttribute(Url = url); Assert.Null(attr.Message); Assert.Equal(url, attr.Url); }