def AddOutcomeDetails(self, code, description=''):
    self.outcome_details.append(OutcomeDetails(code, description))
Returns a valid instance of the specified class.
dataset/ETHPy150Open google/openhtf/openhtf/io/test_record.py/TestRecord.AddOutcomeDetails--crossover with--dataset/ETHPy150Open ga4gh/server/tests/unit/test_protocol_errors.py/TestFrontendErrors._createInstance