### Question:
GenesisLoader { public static GenesisJson loadGenesisJson(String genesisName) { String fileUrl = Thread.currentThread().getContextClassLoader().getResource("config/" + genesisName).getPath(); File file = new File(fileUrl); String genesisJsonStr; try { BufferedReader bufferedReader = new BufferedReader(new FileReader(file)); StringBuffer stringBuffer = new StringBuffer(); String line = ""; while ((line = bufferedReader.readLine()) != null) { stringBuffer.append(line); } bufferedReader.close(); genesisJsonStr = stringBuffer.toString(); return parseGenesisJsonStr(genesisJsonStr); } catch (Exception e) { logger.error("~> loadGenesisJson error: ", e); return null; } }  static GenesisJson loadGenesisJson(String genesisName); static GenesisBlock loadGenesisBlock(Repository repository, GenesisJson genesisJson); static byte[] generateRootHash(Map<String, GenesisJson.AccountJson> accounts);  }### Answer:
@Test public void loadGenesisJson() { GenesisJson genesisJson = GenesisLoader.loadGenesisJson(genesisName); Assert.assertNotNull(genesisJson.getAccounts()); }