}
@Test
public void testRequestResponse() throws Exception
{
LocalMuleClient client = muleContext.getClient();
MuleMessage response = client.send("vm://updateStoredProcedure", TEST_MESSAGE, null);
int expectedUpdateCount = testDatabase instanceof DerbyTestDatabase ? 0 : 1;
assertEquals(expectedUpdateCount, response.getPayload());
List<Map<String, String>> result = selectData("select * from PLANET where POSITION=4", getDefaultDataSource());
assertRecords(result, new Record(new Field("NAME", "Mercury"), new Field("POSITION", 4)));