final ComponentVerifier verifier = new ComponentVerifier();
final List issues = new ArrayList();
final Properties parameters = new Properties();
parameters.setProperty( "optional", "false" );
parameters.setProperty( "type", ActionListener.class.getName() );
final Attribute attribute = new Attribute( "dna.dependency", parameters );
verifier.verifyDependencyMetaData( LifecycleExtendingService.class,
attribute,
issues );
assertSingleIssue( issues,
"The dna.dependency attribute does not specify the parameter key.",