{
String resource = RandomUtil.randomString();
String operationName = RandomUtil.randomString();
String param = RandomUtil.randomString();
String[] params = new String[] { RandomUtil.randomString(), RandomUtil.randomString(), RandomUtil.randomString() };
Message msg = new ClientMessageImpl((byte)0, false, 0, 0, (byte)4, 1000);
ManagementHelper.putOperationInvocation(msg, resource, operationName, param, params);
Object[] parameters = ManagementHelper.retrieveOperationParameters(msg);
Assert.assertEquals(2, parameters.length);
Assert.assertEquals(param, parameters[0]);