assertEquals("val1",res.get("attr1"));
}
@Test(expectedExceptions = AttributeNotFoundException.class)
public void singleBeanMultiAttributesWithAWrongAttributeNameThrowingException() throws Exception {
JmxReadRequest request = new JmxRequestBuilder(READ, testBeanName.getCanonicalName()).
attributes(Arrays.asList("attr0", "attr1")).
option(ConfigKey.IGNORE_ERRORS, "false").
build();
MBeanServer server = createMock(MBeanServer.class);