public void MessageContentWithValidSchemaReturnsNullProperty()
        {
            const string messageContent = "<test>hello</test>";

            XmlDeserializationChildElementTestObject xmlDeserializationChildElementTestObject = XmlDeserializerService.Deserialize <XmlDeserializationChildElementTestObject>(messageContent);

            xmlDeserializationChildElementTestObject.Child.Should().BeNull();
        }
        public void CanDeserializeXmlElement()
        {
            const string messageContent = "<child>hello</child>";

            XmlDeserializationChildElementTestObject xmlDeserializationChildElementTestObject = XmlDeserializerService.Deserialize <XmlDeserializationChildElementTestObject>(messageContent);

            xmlDeserializationChildElementTestObject.Child.Should().Be("hello");
        }