class RuboCop::Cop::InternalAffairs::EmptyLineBetweenExpectOffenseAndCorrection

def on_send(node)

def on_send(node)
  return unless (next_sibling = node.right_sibling)
  return unless next_sibling.respond_to?(:send_type?) && next_sibling.send_type?
  method_name = next_sibling.method_name
  return unless CORRECTION_EXPECTATION_METHODS.include?(method_name)
  range = offense_range(node)
  return unless range.last_line + 1 == next_sibling.loc.line
  add_offense(range, message: format(MSG, expect_correction: method_name)) do |corrector|
    corrector.insert_after(range, "\n")
  end
end