コード例 #1
0
        public void Should_Go_To_Specific_Page()
        {
            // Arrange
            CsvInteractor csvInteractor = CreateCsvInteractor();

            // Act
            IList <string> result = csvInteractor.JumpToPage(2);

            // Assert
            result.Should().BeEquivalentTo(TestData.RenderedSecondPage);
        }
コード例 #2
0
        public void Should_Go_To_Previous_Page()
        {
            // Arrange
            CsvInteractor csvInteractor = CreateCsvInteractor();

            // Act
            IList <string> result = csvInteractor.GoToPreviousPage();

            // Assert
            result.Should().BeEquivalentTo(TestData.RenderedLastPage);
        }