public void Import_NewPage()
        {
            // Arrange
            var page = Models.CreateDocumentationPage();

            page.Id = 10573;

            // Act
            DocumentationPageRepository.Import(page);
            var result = DocumentationPageRepository.Read(page.Id);

            // Assert
            Assert.That(result, Is.Not.Null, "The page should have been created with the supplied id.");
            Assert.That(result.Title, Is.EqualTo(page.Title), "The page Title should have been added to the data store.");
        }
        public void Import_ExistingPage()
        {
            // Arrange
            var page = Models.CreateDocumentationPage();

            DocumentationPageRepository.Create(page);

            page.Title = "Imported existing page title.";

            // Act
            DocumentationPageRepository.Import(page);
            var result = DocumentationPageRepository.Read(page.Id);

            // Assert
            Assert.That(result, Is.Not.Null, "The page should still exist in the repository.");
            Assert.That(result.Title, Is.EqualTo(page.Title), "The title should have been updated on import.");
        }