Change parameter type List<Obejct> to simple List and modify tests