src/test/java/org/jboss/loom/utils/AS7CliUtilsTest.java
@RunAsClient
    @Test public void testParseAndFormatCommand(){
        final String command = "/foo=a/bar=b:do-something(param1=\"val1\",param2=\"val2\")";
        final ModelNode modalNode = AS7CliUtils.parseCommand( command );
        final String command2 = AS7CliUtils.formatCommand( modalNode );
        
        Assert.assertEquals( command, command2 );
    }
/**
     *  parse() -> format() gives the same as original CLI command.
     */
> format() gives the same as original CLI command.
> format () gives the same as original CLI command .
@RunAsClient
    @Test public void testParseAndFormatCommand(){
        final String command = "/foo=a/bar=b:do-something(param1=\"val1\",param2=\"val2\")";
        final ModelNode modalNode = AS7CliUtils.parseCommand( command );
        final String command2 = AS7CliUtils.formatCommand( modalNode );
        Assert.assertEquals( command, command2 );
    }
@ RunAsClient @ Test public void testParseAndFormatCommand ( ) { final String command = "/foo=a/bar=b:do-something(param1=\"val1\",param2=\"val2\")" ; final ModelNode modalNode = AS7CliUtils . parseCommand ( command ) ; final String command2 = AS7CliUtils . formatCommand ( modalNode ) ; Assert . assertEquals ( command , command2 ) ; }
parse() -> format() gives the same as original CLI command.
parse () - > format () gives the same as original CLI command .