### Question:
JsonUtil { public static ArchiveIdentifierVersion getNPMArchiveDescription(final File file) throws IOException { final JSONObject obj = readJsconFile(file); final String name = obj.getString("name"); final String version = obj.getString("version"); return new ArchiveIdentifierVersion(JAVASCRIPT, name, version); } private  JsonUtil(); static ArchiveIdentifierVersion getNPMArchiveDescription(final File file); static String getNPMArchiveLicenseName(final File file); static String getNPMArchiveVendorName(final File file); static Author getNPMAuthor(final File file);  }### Answer:
@Test public void getNPMArchiveDescriptionTest() throws Exception { File packageFile = getFileFromClasspath("package.json"); ArchiveIdentifierVersion actual = JsonUtil.getNPMArchiveDescription(packageFile); Assert.assertEquals("test-project", actual.getName()); Assert.assertEquals("1.0.0", actual.getVersion()); }