Class: DaVinciPDexTestKit::PDexPayerServer::ExplanationOfBenefitIdSearchTest

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_id_search_test.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.metadataObject



45
46
47
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_id_search_test.rb', line 45

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

.propertiesObject

TODO: test if this test runs



37
38
39
40
41
42
43
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_id_search_test.rb', line 37

def self.properties
  @properties ||= USCoreTestKit::SearchTestProperties.new(
    resource_type: 'ExplanationOfBenefit',
    search_param_names: ['_id']
    # TODO: any more search test properties?
  )
end

Instance Method Details

#scratch_resourcesObject



49
50
51
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_id_search_test.rb', line 49

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