diff --git a/activemq-ra/src/test/java/org/apache/activemq/ra/MessageEndpointProxyTest.java b/activemq-ra/src/test/java/org/apache/activemq/ra/MessageEndpointProxyTest.java index 4542aa5542..c2308d3068 100755 --- a/activemq-ra/src/test/java/org/apache/activemq/ra/MessageEndpointProxyTest.java +++ b/activemq-ra/src/test/java/org/apache/activemq/ra/MessageEndpointProxyTest.java @@ -91,7 +91,6 @@ public class MessageEndpointProxyTest extends MockObjectTestCase { mockEndpoint.expects(once()).method("onMessage").with(same(stubMessage.proxy())) .will(throwException(new RuntimeException())); setupAfterDeliverySuccessful(); - setupExpectRelease(); doBeforeDeliveryExpectSuccess(); try { @@ -102,7 +101,6 @@ public class MessageEndpointProxyTest extends MockObjectTestCase { } doAfterDeliveryExpectSuccess(); - doFullyDeadCheck(); } public void testAfterDeliveryFailure() {