@Test
public void testInterpretWithConfigOK() throws IOException {

    FileWriter fileWriter = new FileWriter("test.config", false);
    fileWriter.append("node_name=elrond-node-1\n" +
            "port=4001\n" +
            "master_peer_port=4000\n" +
            "peer_ip=127.0.0.1\n" +
            "node_private_key=00e073884464d8d887568d6e4e66344db01334436c817bce17653eaf3e428b6ef5\n" +
            "startup_type=START_FROM_SCRATCH\n" +
            "blockchain_path=elrond-node-1\n" +
            "blockchain_restore_path=elrond-node-1");
    fileWriter.close();
    ResponseObject result = CommandLinesInterpretor.interpretCommandLines(new String[]{"--config=test.config"});
    ThreadUtil.sleep(1000);
    FileUtils.forceDelete(new File("test.config"));
    TestCase.assertTrue(result.isSuccess());
    TestCase.assertNotNull(result.getPayload());
    @SuppressWarnings("unchecked")
p<String, Object> data = (Map<String, Object>)result.getPayload();
    for (String key : data.keySet()){
        System.out.println(key + ": " + data.get(key).toString());
    }
}