public void ThenIShouldSeeThePostcodeInTheSubheader() { var subheaderAfterRestaurantSearch = StateManager.Get <string>(Result.RestaurantSubHeader.ToString()); var expectedPostcode = StateManager.Get <string>(Input.Postcode.ToString()); var defaultHeaderForTotalRestaurants = StateManager.Get <string>(Result.DefaultSubheaderForGivenPostcode.ToString()); ValidationHelper.AssertTrue(subheaderAfterRestaurantSearch, expectedPostcode); ValidationHelper.AssertNotEqual(subheaderAfterRestaurantSearch, defaultHeaderForTotalRestaurants); }