[WW-4528] correcting testTwoExcludesPropertiesChained unit test

This commit is contained in:
Yasser Zamani
2017-02-03 02:37:17 +03:30
parent 0437efc6f9
commit 7140e0192b
@@ -130,8 +130,9 @@ public class ChainingInterceptorTest extends XWorkTestCase {
assertEquals(bean.getBirth(), action.getBirth());
assertEquals(null, action.getName());
assertEquals(0, action.getCount());
assertEquals(interceptor.getExcludes().iterator().next(), "count");
assertEquals(interceptor.getExcludes().iterator().next(), "name");
Iterator<String> it = interceptor.getExcludes().iterator();
assertEquals(it.next(), "count");
assertEquals(it.next(), "name");
}
public void testNullCompoundRootElementAllowsProcessToContinue() throws Exception {