class Cucumber::Messages::TestStepFinished

def self.from_h(hash)

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

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new TestStepFinished from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    test_case_started_id: hash[:testCaseStartedId],
    test_step_id: hash[:testStepId],
    test_step_result: TestStepResult.from_h(hash[:testStepResult]),
    timestamp: Timestamp.from_h(hash[:timestamp])
  )
end