throws Exception
{
final String name = "Blah";
final String alias = "Blee";
final String role = "com.biz.Service";
final Assembler assembler = new Assembler();
final DefaultConfiguration provide = new DefaultConfiguration( "provide", "", "" );
provide.setAttribute( "name", name );
provide.setAttribute( "role", role );
provide.setAttribute( "alias", alias );
final DependencyDirective directive =
assembler.buildDependency( provide );
assertEquals( "name", name, directive.getProviderName() );
assertEquals( "role", role, directive.getKey() );
assertEquals( "alias", alias, directive.getAlias() );
}