Example #1
0
        public void Constructor_Sets_Value()
        {
            var property = new ConstantPublishedProperty("Hello :)");

            Assert.That(property.Value, Is.EqualTo("Hello :)"));
        }
Example #2
0
        public void HasValue_Is_Always_True()
        {
            var property = new ConstantPublishedProperty(string.Empty);

            Assert.That(property.HasValue, Is.True);
        }
Example #3
0
 protected bool Equals(ConstantPublishedProperty other)
 {
     return(Equals(Value, other.Value));
 }