Refactored out "no such element"-assert into separate method