<commit_before>import GovernmentAgency from './governmentAgency.js'

describe('GovernmentAgency', () => {
  describe('constructor', () => {
    it('should set partyClass to Organisation', () => {
      const testGov = new GovernmentAgency({})
      expect(testGov.partyClass).toEqual('Organisation')
    })
    it('should set partyType to Government Agency', () => {
      const testGov = new GovernmentAgency({})
      expect(testGov.partyType).toEqual('GovernmentAgency')
    })
  })
})<commit_msg>Test cases added<commit_after>import GovernmentAgency from './governmentAgency.js'

describe('GovernmentAgency', () => {
  describe('constructor', () => {
    it('should set url', () => {
      const testGov = new GovernmentAgency({url: 'testURL'})
      expect(testGov.url).toEqual('testURL')
    })

    it('should set displayName', () => {
      const testGov = new GovernmentAgency({displayName: 'testDisplayName'})
      expect(testGov.displayName).toEqual('testDisplayName')
    })

    it('should set legalName', () => {
      const testGov = new GovernmentAgency({displayName: 'testLegalName'})
      expect(testGov.legalName).toEqual('testLegalName')
    })

    it('should set partyClass to Organisation', () => {
      const testGov = new GovernmentAgency({})
      expect(testGov.partyClass).toEqual('Organisation')
    })
    it('should set partyType to Government Agency', () => {
      const testGov = new GovernmentAgency({})
      expect(testGov.partyType).toEqual('GovernmentAgency')
    })
  })
})
{'fraction_non_alphanumeric': 0.15633245382585753, 'fraction_numerical': 0.0, 'mean_word_length': 3.957516339869281, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7245073', 'n_tokens_mistral': 454, 'n_tokens_neox': 441, 'n_words': 83}