Пример #1
0
        public void Should_clone_object()
        {
            var sut = new StringField(1, "my-string", Partitioning.Invariant);

            Assert.NotEqual(sut, sut.Enable());
        }
Пример #2
0
        public void Should_instantiate_field()
        {
            var sut = new StringField(1, "my-string", Partitioning.Invariant);

            Assert.Equal("my-string", sut.Name);
        }