transformers.add(t);
when(app.getTransformers()).thenReturn(transformers);
// Validators
List<Validator> validators = new ArrayList<Validator>();
Validator v = mock(Validator.class);
when(v.getName()).thenReturn(new QName("foo"));
validators.add(v);
when(app.getValidators()).thenReturn(validators);
// Components
List<ComponentService> compSvcs = new ArrayList<ComponentService>();