public void Constructor() { //---------------Set up test pack------------------- //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var tableAttribute = new ThuriaColumnAttribute("TestColumn"); //---------------Test Result ----------------------- tableAttribute.Should().NotBeNull(); }
public void SetPropertyName_ShouldSetPropertyNameProperty(string propertyName) { //---------------Set up test pack------------------- var columnAttribute = new ThuriaColumnAttribute("SomeColumn"); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var thuriaColumnAttribute = columnAttribute.SetPropertyName(propertyName); //---------------Test Result ----------------------- thuriaColumnAttribute.Should().NotBeNull(); thuriaColumnAttribute.Should().Be(columnAttribute); thuriaColumnAttribute.PropertyName.Should().Be(propertyName); columnAttribute.PropertyName.Should().Be(propertyName); }