will( returnValue( type ) );
atLeast( 1 ).of( attributeInfo ).isWritable();
will( returnValue( true ) );
one( con ).setAttribute( with( equal( new ObjectName( "a:type=x" ) ) ),
(Attribute) with( a( Attribute.class ) ) );
will( doAll( new CustomAction( "SetAttribute" )
{
public Object invoke( Invocation invocation )
throws Throwable
{