INT-1421 - fixed the bug in test
This commit is contained in:
@@ -114,7 +114,7 @@ public class GlobalChannelInterceptorTests {
|
||||
DirectFieldAccessor iAccessor = new DirectFieldAccessor(iList);
|
||||
List<SampleInterceptor> interceptorList = (List<SampleInterceptor>) iAccessor.getPropertyValue("interceptors");
|
||||
List<String> interceptorNames = new ArrayList<String>();
|
||||
for (Object interceptor: interceptorList){
|
||||
for (ChannelInterceptor interceptor: interceptorList){
|
||||
interceptorNames.add(interceptor.toString());
|
||||
}
|
||||
Assert.assertTrue(interceptorNames.contains("interceptor-ten"));
|
||||
|
||||
Reference in New Issue
Block a user