MockNewAttributeBands newAttributeBands = new MockNewAttributeBands(1,
null, null, new AttributeDefinition(35,
AttributeDefinitionBands.CONTEXT_CLASS, name, layout));
List layoutElements = newAttributeBands.getLayoutElements();
assertEquals(3, layoutElements.size());
Callable firstCallable = (Callable) layoutElements.get(0);
Callable secondCallable = (Callable) layoutElements.get(1);
Callable thirdCallable = (Callable) layoutElements.get(2);
List firstBody = firstCallable.getBody();
assertEquals(1, firstBody.size());
Replication rep = (Replication) firstBody.get(0);
List repBody = rep.getLayoutElements();
assertEquals(1, repBody.size());