{
AbstractBeanMetaData bean = unmarshalBean();
Set<DependencyMetaData> dependencies = bean.getDepends();
assertNotNull(dependencies);
assertEquals(1, dependencies.size());
AbstractDependencyMetaData dependency = (AbstractDependencyMetaData) dependencies.iterator().next();
assertNotNull(dependency);
return dependency;
}