@@ -0,0 +1,2381 @@
+package com.github.mosuka.zookeeper.nicli.command;%0A%0Aimport java.util.LinkedHashMap;%0Aimport java.util.Map;%0A%0Aimport org.junit.Test;%0A%0Aimport com.github.mosuka.zookeeper.nicli.util.ZooKeeperConnection;%0Aimport com.github.mosuka.zookeeper.nicli.util.ZooKeeperTestBase;%0A%0Apublic class ListQuotaCommandTest extends ZooKeeperTestBase %7B%0A    public ZooKeeperConnection zkConnection = null;%0A%0A    @Override%0A    public void before() throws Exception %7B%0A        super.before();%0A        zkConnection = new ZooKeeperConnection(server, sessionTimeout);%0A%0A        // prepare the data%0A        Map%3CString, Object%3E parameters = new LinkedHashMap%3CString, Object%3E();%0A        parameters.put(%22server%22, server);%0A        parameters.put(%22session_timeout%22, sessionTimeout);%0A        parameters.put(%22pretty_print%22, false);%0A        parameters.put(%22path%22, %22/test%22);%0A        parameters.put(%22data%22, %22This is test.%22);%0A        parameters.put(%22acl%22, %22%22);%0A        parameters.put(%22ephemeral%22, false);%0A        parameters.put(%22sequential%22, false);%0A        parameters.put(%22parents%22, false);%0A        parameters.put(%22watch%22, false);%0A%0A        CreateCommand command = new CreateCommand();%0A        command.execute(parameters);%0A%0A        Map%3CString, Object%3E parameters2 = new LinkedHashMap%3CString, Object%3E();%0A        parameters2.put(%22server%22, server);%0A        parameters2.put(%22session_timeout%22, sessionTimeout);%0A        parameters2.put(%22pretty_print%22, false);%0A        parameters2.put(%22path%22, %22/test%22);%0A        parameters2.put(%22bytes%22, 10L);%0A        parameters2.put(%22num_nodes%22, -1);%0A%0A        SetQuotaCommand command2 = new SetQuotaCommand();%0A        command2.execute(parameters2);%0A    %7D%0A%0A    @Override%0A    public void after() throws Exception %7B%0A        super.after();%0A        zkConnection.close();%0A    %7D%0A%0A    @Test%0A    public void testExecute() %7B%0A        Map%3CString, Object%3E parameters = new LinkedHashMap%3CString, Object%3E();%0A        parameters.put(%22server%22, server);%0A        parameters.put(%22session_timeout%22, sessionTimeout);%0A        parameters.put(%22pretty_print%22, false);%0A        parameters.put(%22path%22, %22/test%22);%0A%0A        int statusCode = Command.STATUS_SUCCESS;%0A%0A        ListQuotaCommand command = new ListQuotaCommand();%0A        try %7B%0A            statusCode = command.execute(parameters);%0A        %7D catch (Exception e) %7B%0A            fail(e.getMessage());%0A        %7D%0A%0A        assertEquals(Command.STATUS_SUCCESS, statusCode);%0A    %7D%0A%7D%0A

Add ListQuotaCommandTest.