assertEquals(ModelType.LIST, resourceDescription.get(ATTRIBUTES, TimerAttributeDefinition.INSTANCE.getName(), TYPE).asType());
assertEquals(ModelType.OBJECT, resourceDescription.get(ATTRIBUTES, TimerAttributeDefinition.INSTANCE.getName(), VALUE_TYPE).getType());
final ModelNode timerAttr = resource.get(TimerAttributeDefinition.INSTANCE.getName());
assertTrue(timerAttr.isDefined());
final List<ModelNode> timers = timerAttr.asList();
if (!expectTimer) {
assertEquals(0, timers.size());
}
else {
assertEquals(1, timers.size());