code: def test_should_keep_license_info(self):
      # Given
      dataset = {
          "intents": {},
          "entities": {
              "my_entity": {
                  "data": [{"value": "foo", "synonyms": []}],
                  "use_synonyms": True,
                  "automatically_extensible": True,
                  "matching_strictness": 1.0,
                  "license_info": {
                      "filename": "LICENSE",
                      "content": "some license content here",
                  },
              },
          },
          "language": "en",
      }
  
      # When
      validated_dataset = validate_and_format_dataset(dataset)
  
      # Then
      expected_dataset = {
          "entities": {
              "my_entity": {
                  "automatically_extensible": True,
                  "capitalize": False,
                  "matching_strictness": 1.0,
                  "utterances": {"Foo": "foo", "foo": "foo"},
                  "license_info": {
                      "filename": "LICENSE",
                      "content": "some license content here",
                  },
              }
          },
          "intents": {},
          "language": "en",
          "validated": True,
      }
      self.assertDictEqual(expected_dataset, validated_dataset)
  
imports: from __future__ import unicode_literals
  import io
  from builtins import range, str
  from future.utils import iteritems
  from mock import mock, patch
  from snips_nlu.constants import ENTITIES, SNIPS_DATETIME, VALIDATED
  from snips_nlu.dataset import Dataset
  from snips_nlu.dataset.validation import validate_and_format_dataset, _validate_and_format_custom_entity
  from snips_nlu.exceptions import DatasetFormatError
  from snips_nlu.tests.utils import SnipsTest, EntityParserMock
label_desc: Use image node_id 19 for calling the TestDatasetValidation obj's underlying member method code with example usage: obj.test_should_keep_license_info() without return types