};
}
@Test(dataProvider = "tokenRetrievalTests")
public void testTokenRetrievalService(String url, String params, String message) throws IOException {
TokenRetrievalServiceImpl tokenRetrievalService = new TokenRetrievalServiceImpl();
try {
tokenRetrievalService.retrieveToken(url, params, null, null);
} catch (IOException e) {
assertTrue(e.getMessage().contains(message), e.getMessage() + " does not contain " + message);
}
}