class Cucumber::Messages::TestRunFinished

def self.from_h(hash)

#
Cucumber::Messages::TestRunFinished.from_h(some_hash) # => #

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new TestRunFinished from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    message: hash[:message],
    success: hash[:success],
    timestamp: Timestamp.from_h(hash[:timestamp]),
    exception: Exception.from_h(hash[:exception])
  )
end