private Map<String, AuthInformation> generateAuthInformation(Set<String> scopes) {
Map<String, AuthScope> authScopes = Maps.newHashMap();
for (String scopeName : scopes) {
AuthScope mockScope = EasyMock.createMock(AuthScope.class);
EasyMock.replay(mockScope);
authScopes.put(scopeName, mockScope);
}
AuthInformation mockAuth = EasyMock.createMock(AuthInformation.class);