class Cucumber::Messages::TestStepFinished
def self.from_h(hash)
def self.from_h(hash) return nil if hash.nil? self.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
def initialize(
def initialize( test_case_started_id: '', test_step_id: '', test_step_result: TestStepResult.new, timestamp: Timestamp.new ) @test_case_started_id = test_case_started_id @test_step_id = test_step_id @test_step_result = test_step_result @timestamp = timestamp end