public void ShowProperty(Table expectedProject) { //Arrange var expectedTitles = expectedProject.Rows.Select(r => r["Title"]); //Action var ShowProperty = _state.ActionResult.Model <IEnumerable <PROPERTY> >(); //Assert PropertyAssertions.HomeScreenShouldShowInOrder(ShowProperty, expectedTitles); }
public void ShowListOfAgencyProject(Table showProject) { //Arrange var expectedProjects = showProject.Rows.Select(r => r["PropertyName"]); //Action var result = ScenarioContext.Current.Get <IEnumerable <PROPERTY> >("Property"); //var actualProjects = result.Model<IEnumerable<PROPERTY>>(); //Assert PropertyAssertions.HomeScreenShouldShowInOrder(result, expectedProjects); }