public void VerifyResult() { // given MainPage mainPage = new MainPage(SESSION); ResultsPage resultsPage = mainPage.ClickResultsPage(); ResultRow.Builder resultRowBuilder = new ResultRow.Builder(); resultRowBuilder.withDate(DATE).withTournament(TOURNAMENT).withMatch(MATCH); ResultRow resultRow = resultRowBuilder.create(); // when resultsPage.SelectTournament(TournamentDropDownValue.OFFICIAL_MATCHES); resultsPage.SelectSeason(SeasonDropDownValue.SEASON_2014_2015); resultsPage.Click(ResultsPageElement.GO_BUTTON); // then resultsPage.ShouldHave(ResultsPageElement.RESULTS_ROW, resultRow); }