DecoratorRegistrar { public static List<TestClassDecorator> getClassDecorators() { final List<TestClassDecorator> decorators = new ArrayList<>(); CLASS_DECORATORS.iterator().forEachRemaining(decorators::add); return decorators; } private  DecoratorRegistrar(); static List<TestClassDecorator> getClassDecorators(); static List<TestMethodDecorator> getMethodDecorators();  }
@Test public void testClassDecoratorsAreLoaded() { final List<TestClassDecorator> classDecorators = DecoratorRegistrar.getClassDecorators(); assertFalse(classDecorators.isEmpty()); }