fix mockery for entityServiceTest