* If a field in the argument is not set it will be set to its default value
*/
@Test
public void missingField() throws InstanceNotFoundException, IOException, ReflectionException, AttributeNotFoundException, MBeanException, MalformedObjectNameException, NotChangedException {
// set a value just for stringField, leave out intField
JmxExecRequest request = new JmxRequestBuilder(EXEC, oName).
operation("compositeData").
arguments("{ \"stringField\":\"aString\" }").
build();
CompositeData data = (CompositeData) handler.handleRequest(getMBeanServer(),request);
assertEquals(data.get("stringField"),"aString");