handler = new ListHandler(new AllowAllRestrictor());
}
@Test(expectedExceptions = { UnsupportedOperationException.class })
public void wrongMethod() throws Exception {
JmxListRequest request = new JmxRequestBuilder(RequestType.LIST).build();
// Should always return true in order to be able to merge lists
assertTrue(handler.handleAllServersAtOnce(request));
// Path value handling is done internally
assertFalse(handler.useReturnValueWithPath());