*/
private void testComponent(EJBComponentType type, String name, boolean expectTimer) throws Exception {
ModelNode address = getComponentAddress(type, name).toModelNode();
address.protect();
ModelNode resourceDescription = executeOperation(ModelDescriptionConstants.READ_RESOURCE_DESCRIPTION_OPERATION, address);
ModelNode resource = executeOperation(ModelDescriptionConstants.READ_RESOURCE_OPERATION, address);
assertTrue(resourceDescription.get(ATTRIBUTES, COMPONENT_CLASS_NAME.getName()).isDefined());
assertEquals(ModelType.STRING, resourceDescription.get(ATTRIBUTES, COMPONENT_CLASS_NAME.getName(), DESCRIPTION).getType());