/**
* This method tests the method public void writeAltText ( AltTextAttributes )
* for the com.volantis.mcs.protocols.VolantisProtocol class.
*/
public void testWriteAltText() throws Exception {
final AltTextAttributes attributes =
(AltTextAttributes) ProtocolIntegrationTestHelper.
provideAttributes(AltTextAttributes.class);
final VolantisProtocol protocol = getProtocol();
// Because alt text is now an object, provideAttributes will not
// automatically initialize it
attributes.setAltText(new LiteralTextAssetReference("altText"));
MethodInvoker invoker = new MethodInvoker() {
public void invoke() throws Exception {
protocol.writeAltText(attributes);
}