one( con ).invoke( new ObjectName( "a:type=x" ), "exe",
new Object[] { 33 }, new String[] { "int" } );
will( returnValue( "bingo" ) );
}
} );
command.setSession( new MockSession( output, con ) );
command.execute();
context.assertIsSatisfied();
assertEquals( "bingo", output.toString().trim() );
}