Assert.assertFalse(wsResponse.wasCallAllowed());
}
public void validatePackagingOfClientProtocalException() throws ApplicationException, IOException {
ClientProtocolException cpe = new ClientProtocolException("Abstract HTTP protocol error");
TestWSGetClient testWSClient = getTestWSClient(cpe);
WSResponse response = testWSClient.testCall();
Assert.assertTrue(response.wasCallAllowed());
Assert.assertFalse(response.wasCallSuccessful());