// Check to make sure the right object was returned
assertNotNull(bo);
assertTrue(bo instanceof EchoStringResponse);
// Check to make sure the content of that object is correct
EchoStringResponse esr = (EchoStringResponse) bo;
assertNotNull(esr.getEchoStringReturn());
assertTrue(esr.getEchoStringReturn().equals("sample return value"));
// Simulate outbound
if (persist == PERSIST) {
String persistMsg = m.getAsOMElement().toString();
// We should be able to persist the message, but the persisted message WON'T contain the echoStringResponse contents