* Add accept-encoding header to reduce chance of rate limiting
Signed-off-by: Arne Seime <arne.seime@gmail.com>
final String getPodsResponse = new String(getClass().getResourceAsStream(podsResponse).readAllBytes(),
StandardCharsets.UTF_8);
stubFor(get(urlEqualTo("/api/v2/users/me/pods?fields=*&apiKey=APIKEY"))
+ .withHeader("Accept-Encoding", equalTo("gzip"))
.willReturn(aResponse().withStatus(200).withBody(getPodsResponse)));
when(sensiboAccountMock.getConfiguration()).thenReturn(configuration);