public void AddPage_IncreasesCountOfPagesPropertiesByOne()
        {
            var document           = new CV(printerMock.Object);
            var documentPagesCount = document.Pages.Count;

            document.AddPage(pageMock.Object);

            Assert.AreEqual(documentPagesCount + 1, document.Pages.Count);
        }
        public void AddPageWithIndex_InsertsPageAtCorrectIndexInList()
        {
            var document = new CV(printerMock.Object);

            document.Pages.Add(pageMock.Object);
            document.Pages.Add(pageMock2.Object);
            document.Pages.Add(pageMock3.Object);

            document.AddPage(pageMock3.Object, 1);

            // IT FAILS - how to test that?
            Assert.AreEqual(document.Pages[0], pageMock.Object);
            Assert.AreEqual(document.Pages[1], pageMock3.Object);
            Assert.AreEqual(document.Pages[2], pageMock2.Object);
            Assert.AreEqual(document.Pages[3], pageMock3.Object);
        }