public void CanSupplyDisplayName_WithAttributeHavingNameAndResourceType_ReturnsTrue()
        {
            var attribute = new DisplayAttribute {
                Name = "Test", ResourceType = typeof(object)
            };

            Assert.True(attribute.CanSupplyDisplayName());
        }
        public void CanSupplyDisplayName_WithAttributeOnlyHavingName_ReturnsFalse()
        {
            var attribute = new DisplayAttribute {
                Name = "Test"
            };

            Assert.False(attribute.CanSupplyDisplayName());
        }
        public void CanSupplyDisplayName_WithEmptyAttribute_ReturnsFalse()
        {
            var attribute = new DisplayAttribute();

            Assert.False(attribute.CanSupplyDisplayName());
        }
        public void CanSupplyDisplayName_WithNullAttribute_ReturnsFalse()
        {
            DisplayAttribute attribute = null;

            Assert.False(attribute.CanSupplyDisplayName());
        }