public void ThenShouldBeAbleToSortOnDistributionsPage(string headerName) { var list = distributionTab.GetSortedList(headerName); list.Should().BeInAscendingOrder(); list = distributionTab.GetSortedList(headerName); list.Should().BeInDescendingOrder(); }