type,
PropertyHelper.getPropertyIds(type),
PropertyHelper.getKeyPropertyIds(type),
managementController);
provider.createResources(request);
ExecuteActionRequest capturedRequest = actionRequest.getValue();
Assert.assertTrue(actionRequest.hasCaptured());
Assert.assertFalse("expected an action", Boolean.valueOf(capturedRequest.isCommand()));
Assert.assertEquals("check_java", capturedRequest.getActionName());
Assert.assertEquals(null, capturedRequest.getCommandName());
Assert.assertNotNull(capturedRequest.getResourceFilters());
Assert.assertEquals(1, capturedRequest.getResourceFilters().size());
RequestResourceFilter capturedResourceFilter = capturedRequest.getResourceFilters().get(0);
Assert.assertEquals(null, capturedResourceFilter.getServiceName());
Assert.assertEquals(null, capturedResourceFilter.getComponentName());
Assert.assertNotNull(capturedResourceFilter.getHostNames());
Assert.assertEquals(2, capturedResourceFilter.getHostNames().size());
Assert.assertEquals(0, actionRequest.getValue().getParameters().size());