Make getSpy method visible to other packages.

This commit is contained in:
Ry Lowry
2016-02-23 10:55:04 -06:00
committed by Gary Russell
parent 2c4985e804
commit 85556c2f1b

View File

@@ -105,7 +105,7 @@ public class RabbitListenerTestHarness extends RabbitListenerAnnotationBeanPostP
}
@SuppressWarnings("unchecked")
<T> T getSpy(String id) {
public <T> T getSpy(String id) {
return (T) this.listeners.get(id);
}