Class: DaVinciPDexTestKit::PDexPayerServer::ExplanationOfBenefitPatientTypeSearchTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
USCoreTestKit::SearchTest
Defined in:
lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_type_search_test.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.metadataObject



50
51
52
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_type_search_test.rb', line 50

def self.
  @metadata ||= USCoreTestKit::Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
end

.propertiesObject



41
42
43
44
45
46
47
48
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_type_search_test.rb', line 41

def self.properties
  @properties ||= USCoreTestKit::SearchTestProperties.new(
    resource_type: 'ExplanationOfBenefit',
    search_param_names: ['patient', 'type'],
    test_post_search: true
    # TODO other properties?
  )
end

Instance Method Details

#scratch_resourcesObject



54
55
56
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_patient_type_search_test.rb', line 54

def scratch_resources
  scratch[:explanation_of_benefit_resources] ||= {}
end