final VolantisProtocol protocol = getProtocol();
MethodInvoker invoker = new MethodInvoker() {
public void invoke() throws Exception {
protocol.writeOpenBold(attributes);
protocol.writeCloseBold(attributes);
}
};
String expecting = getExpectedWriteOpenBoldResult();
ProtocolIntegrationTestHelper.doTest(expectations, protocol, invoker, expecting);