Example #1
0
        public void Should_clone_object()
        {
            var sut = new StringField(1, "my-string", new StringFieldProperties());

            Assert.NotEqual(sut, sut.Enable());
        }
Example #2
0
        public void Should_clone_object()
        {
            var sut = new StringField(1, "my-string", Partitioning.Invariant);

            Assert.NotEqual(sut, sut.Enable());
        }