String fileContent = FileUtils.readFileToString(NOMINATIONS_CSV);
TestCase.assertEquals(fileContent, fileUploadContent);
final NonDataFileDatasetBuilder nonDataFileDatasetBuilder = new NonDataFileDatasetBuilder(fileDatasetLoaded)
.addTag("TestFile")
.setLicenseId("CC_30_BY_NC")
.setLicense(new License("Creative Commons Attribution-Noncommercial 3.0 Unported", "images/licenses/cc30bync.png", "http://creativecommons.org/licenses/by-nc/3.0/legalcode"))
.setAttribution("Socrata Test")
.setAttributionLink("https://www.socrata.com");
final NonDataFileDataset fileDatasetLoaded2 = (NonDataFileDataset) importer.updateDatasetInfo(nonDataFileDatasetBuilder.build());
TestCase.assertEquals("CC_30_BY_NC", fileDatasetLoaded2.getLicenseId());
TestCase.assertEquals("Socrata Test", fileDatasetLoaded2.getAttribution());
TestCase.assertEquals("https://www.socrata.com", fileDatasetLoaded2.getAttributionLink());