Exemplo n.º 1
0
        public void NotEquals()
        {
            StateRep other = new SubStateRep(StateName, "SuperStateNameIsDifferent", null);

            Assert.IsFalse(other.Equals(this.stateRep));
        }
Exemplo n.º 2
0
        public void SuperStateNullErrors()
        {
            StateRep rep = new SubStateRep("SubState", null, null);

            Assert.IsNull(rep.Build(this.builder));
        }
Exemplo n.º 3
0
        public void Equality()
        {
            StateRep other = new SubStateRep(StateName, SuperStateName, null);

            Assert.IsTrue(other.Equals(this.stateRep));
        }