Exemple #1
0
        public static void Should_Clone_BasicObject()
        {
            var original = new BasicObject
            {
                BoolValue   = true,
                ByteValue   = 0x10,
                IntValue    = 100,
                LongValue   = 10000,
                StringValue = "Test String"
            };
            BasicObject cloned = original.Clone();

            cloned.ShouldBe(original);
        }