public void can_contact_fim_during_export___should_detect_problems_with_incorrect_versions_of_referenced_dlls() { var person = _client.EnumerateAll <RmResource>("/Person").First(); using (var stream = new MemoryStream()) { _exporter.WriteXml(stream, "/*[ObjectID='{0}']".FormatWith(person.ObjectID.Value)); stream.Seek(0, SeekOrigin.Begin); var doc = XDocument.Load(stream); Assert.Equal("Results", doc.Root.Name); Assert.True(doc.Root.Elements().Count() > 0); } }