Logger log = Logger.getLogger("com.sun.grid.Jsv");
TestHandler handler = new TestHandler();
setPrivateField(instance, "commandArgs", new String[]{ "test0", "test1" });
log.setLevel(Level.ALL);
log.addHandler(handler);
handler.setLevel(Level.ALL);
parameter = "invalid";
result = (String[])callPrivateMethod(instance, "parseCmdArg", new Class[]{ String.class, String.class }, new Object[]{ parameter, value });
assertEquals("The parseCmdArg() method changed the command args on an invalid value", expResult.length, result.length);
assertEquals("The parseCmdArg() method changed the command args on an invalid value", expResult[0], result[0]);