void (String... components) { myFixture.configureByFile("breadcrumbs/" + getTestName(false) + ".json"); List<Crumb> caret = myFixture.getBreadcrumbsAtCaret(); assertOrderedEquals(caret.stream().map(Crumb::getText).toArray(String[]::new), components); }