Added mock `getArray` support in `InputMocker`