class DecoratorExecutor {

    public void processBefore(final TestInvocation invocation) throws Exception {
        final Iterator<TestMethodDecorator> it = methodDecoratorIterator(invocation.getContext(), BEFORE_COMPARATOR);
        while (it.hasNext()) {
            it.next().beforeTest(invocation);
        }
    }

}