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

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

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