Correction

This commit is contained in:
Niket Agrawal 2023-10-08 21:59:20 +05:30
parent ca432bbe6b
commit 1002f9b196
1 changed files with 0 additions and 1 deletions

View File

@ -87,7 +87,6 @@ public class FirstMatchingElementUnitTest {
@Test
public void whenCalled_thenFindIndexUsingApacheCommons() {
List<Object> dataList = Lists.newArrayList("String", Boolean.TRUE, Integer.valueOf(10), Boolean.FALSE, Double.valueOf(20.0));
int index = IterableUtils.indexOf(dataList, data -> data instanceof Boolean);
assertEquals(1, index);
}