class Cucumber::Messages::TestCaseFinished

def self.from_h(hash)

def self.from_h(hash)
  return nil if hash.nil?
  self.new(
    test_case_started_id: hash[:testCaseStartedId],
    timestamp: Timestamp.from_h(hash[:timestamp]),
    will_be_retried: hash[:willBeRetried],
  )
end