final String type = "PerformMagicService";
parameters.setProperty( "name", type );
final Attribute attribute = new Attribute( "phoenix:mx", parameters );
final Attribute[] input = new Attribute[]{attribute};
final Attribute[] attributes =
interceptor.processClassAttributes(
new JavaClass( new JavaSource() ), input );
assertEquals( "attributes.length", 2, attributes.length );
assertEquals( "attributes[0].name",
"dna.service",
attributes[ 0 ].getName() );