mock the REST client in RestLolClient class to allow better testing