MockRestServiceServer usage in tests where classes need to call a url with restTemplate