void (Class<?> category) { if (category != null) { try { final Categories.CategoryFilter categoryFilter = Categories.CategoryFilter.include(category); filter(categoryFilter); } catch (NoTestsRemainException e) { throw new RuntimeException(e); } } }