Replace return mocks with invocation checks
Replace return mocks with invocation checks

These methods do not return anything, and this will break when adding
the void type hint.

Armstrong1992/SonataAdminBundle,greg0ire/SonataAdminBundle,mweimerskirch/SonataAdminBundle,OskarStark/SonataAdminBundle,ossinkine/SonataAdminBundle,osavchenko/SonataAdminBundle,sonata-project/SonataAdminBundle,osavchenko/SonataAdminBundle,peter-gribanov/SonataAdminBundle,osavchenko/SonataAdminBundle,OskarStark/SonataAdminBundle,ARTACK/SonataAdminBundle,peter-gribanov/SonataAdminBundle,osavchenko/SonataAdminBundle,ARTACK/SonataAdminBundle,mweimerskirch/SonataAdminBundle,peter-gribanov/SonataAdminBundle,greg0ire/SonataAdminBundle,peter-gribanov/SonataAdminBundle,ARTACK/SonataAdminBundle,mweimerskirch/SonataAdminBundle,ossinkine/SonataAdminBundle,greg0ire/SonataAdminBundle,mweimerskirch/SonataAdminBundle,OskarStark/SonataAdminBundle,osavchenko/SonataAdminBundle,Armstrong1992/SonataAdminBundle,jordisala1991/SonataAdminBundle,jordisala1991/SonataAdminBundle,ossinkine/SonataAdminBundle,ossinkine/SonataAdminBundle,jordisala1991/SonataAdminBundle,jordisala1991/SonataAdminBundle,sonata-project/SonataAdminBundle,OskarStark/SonataAdminBundle,ARTACK/SonataAdminBundle,greg0ire/SonataAdminBundle