@Test public void getNPMArchiveVendorNameTest() throws Exception { File packageFile = getFileFromClasspath("package.json"); String actual = JsonUtil.getNPMArchiveVendorName(packageFile); Assert.assertEquals("", actual); }
public static String getNPMArchiveVendorName(final File file) throws IOException { final JSONObject obj = readJsconFile(file); return obj.optString("vendor"); }
JsonUtil { public static String getNPMArchiveVendorName(final File file) throws IOException { final JSONObject obj = readJsconFile(file); return obj.optString("vendor"); } }
JsonUtil { public static String getNPMArchiveVendorName(final File file) throws IOException { final JSONObject obj = readJsconFile(file); return obj.optString("vendor"); } private  JsonUtil(); }
JsonUtil { public static String getNPMArchiveVendorName(final File file) throws IOException { final JSONObject obj = readJsconFile(file); return obj.optString("vendor"); } 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); }
JsonUtil { public static String getNPMArchiveVendorName(final File file) throws IOException { final JSONObject obj = readJsconFile(file); return obj.optString("vendor"); } 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);  }