class Cucumber::Messages::TestRunFinished

def self.from_h(hash)

def self.from_h(hash)
  return nil if hash.nil?
  self.new(
    message: hash[:message],
    success: hash[:success],
    timestamp: Timestamp.from_h(hash[:timestamp]),
    exception: Exception.from_h(hash[:exception]),
  )
end