public void DeserializeObject_ResultModelIsDeserializedAccordingToFormat() { var expectedModel = MockAssets.SeedDocumentTestDocument(); var input = MockAssets.SeedXmlDocument(expectedModel); var actualModel = _sut.DeserializeObject <Document>(input); actualModel.Should().BeEquivalentTo(expectedModel); }