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