aballano
mock<List<Any>>().apply { `when`(size).thenReturn(listSize) `when`(this[previousIndex]).thenReturn(previousItem) `when`(this[index]).thenReturn(currentItem) }