class RuboCop::Cop::Minitest::TestMethodName

def offense?(node)

def offense?(node)
  return false if assertions(node).none?
  public?(node) && node.arguments.empty? && !test_method_name?(node) && !lifecycle_hook_method?(node)
end