class Cucumber::Core::Test::Case

def compose_around_hooks(visitor, *args, &block)

def compose_around_hooks(visitor, *args, &block)
  around_hooks.reverse.reduce(block) do |continue, hook|
    -> { hook.describe_to(visitor, *args, &continue) }
  end.call
end