@Override
            public View answer(InvocationOnMock invocationOnMock) throws Throwable {
                return children.get((Integer) invocationOnMock.getArguments()[0]);
            }
Helper to do the actual searching.
selendroid-server/src/test/java/io/selendroid/server/model/internal/AbstractNativeElementContextTest.java