{
final PhoenixAttributeInterceptor interceptor = new PhoenixAttributeInterceptor();
final Properties parameters = new Properties();
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 );