public void schema_should_contains_byte_field()
        {
            var msg = new SimpleTypesTestMessage
            {
                BoolProperty = true
            };
            var factory = new RequiredFieldFactory();
            var expectedRequiredField = new SimpleRequiredField(name: "ByteProperty", level: 0, type: "System.Byte");

            factory.GetRequiredFields(msg.GetType()).ShouldContainEquivalentTo(expectedRequiredField, helper);
        }
        public void schema_should_contains_datetime_field()
        {
            var msg = new SimpleTypesTestMessage
            {
                DateTimeProperty = DateTime.Now
            };
            var factory = new RequiredFieldFactory();
            var expectedRequiredField = new SimpleRequiredField(name: "DateTimeProperty", level: 0, type: "System.DateTime");

            factory.GetRequiredFields(msg.GetType()).ShouldContainEquivalentTo(expectedRequiredField, helper);
        }
        public void schema_should_contains_string_field()
        {
            var msg = new SimpleTypesTestMessage
            {
                IntTestProperty = 100
            };
            var factory = new RequiredFieldFactory();
            var expectedRequiredField = new SimpleRequiredField(name: "StringProperty", level: 0, type: "System.String");

            factory.GetRequiredFields(msg.GetType()).ShouldContainEquivalentTo(expectedRequiredField, helper);
        }