'Verifies the breadcrumb trail.'

def _verify_breadcrumbs(self, num_units, modified_name=None):

    bookmarked_breadcrumbs = self.bookmarks_page.breadcrumbs()
    breadcrumbs = self._breadcrumb(num_units=num_units, modified_name=modified_name)
    breadcrumbs.reverse()
    self.assertEqual(bookmarked_breadcrumbs, breadcrumbs)
