{"size": 883, "ext": "js", "max_stars_repo_path": "src/Extensions/tests/ExtensionCareConnectProblemSignificance1.test.js", "max_stars_repo_name": "elementechemlyn/node-careconnect-server-core", "max_stars_repo_stars_event_min_datetime": "2020-08-10T21:21:13.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-10T21:21:13.000Z", "max_issues_repo_path": "src/Extensions/tests/ExtensionCareConnectProblemSignificance1.test.js", "max_issues_repo_name": "elementechemlyn/node-careconnect-server-core", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/Extensions/tests/ExtensionCareConnectProblemSignificance1.test.js", "max_forks_repo_name": "elementechemlyn/node-careconnect-server-core", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 40.1363636364, "max_line_length": 127, "alphanum_fraction": 0.7236693092}
// This code was autogenerated from BuildExtensions.py

const ExtensionCareConnectProblemSignificance1 = require('../../../src/Extensions/ExtensionCareConnectProblemSignificance1.js')

describe('Care Connect Extension ExtensionCareConnectProblemSignificance1', function () {
  describe('Object constructor', function () {
    it('Can create object', function () {
      let ext = new ExtensionCareConnectProblemSignificance1()
      expect(ext).toBeInstanceOf(ExtensionCareConnectProblemSignificance1)
      expect(ext.url).toBe('https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ProblemSignificance-1')
    })
  })
  describe('Object getters and setters', function () {
    it('Get/Set Code', function () {
      let ext = new ExtensionCareConnectProblemSignificance1()
      ext.code = 'foo'
      let cd = ext.code
      expect(cd).toBe('foo')
    })
  })
})
