public async Task Format2_LoadAndWrite_XMind()
        {
            using (Record())
            {
                renderer.Expect(x => x.FindColor(null)).Repeat.Any().IgnoreArguments().Return(color);

                color.Expect(x => x.Normal).Repeat.Any().Return(new Vector3(1, 0, 0));
            }

            using (Playback())
            {
                var file = Resources.Format2;

                var document = JsonDocumentSerializer.Deserialize(file);

                var exporter = new XMindExporter();
                var importer = new XMindImporter();

                var stream = new MemoryStream();

                await exporter.ExportAsync(document, renderer, stream);

                stream = new MemoryStream(stream.ToArray());

                var imported = await importer.ImportAsync(stream, "Name");

                Assert.Equal(1, imported.Count);
                Assert.Equal("Test", imported[0].Name);

                document = imported[0].Document;

                AssertDocument(document, false);
            }
        }