private GuvnorFormDefinitionService createService(String baseUrl, String user, String pass) {
GuvnorFormDefinitionService service = new GuvnorFormDefinitionService();
service.setBaseUrl(baseUrl);
service.setUser(user);
service.setPassword(pass);
service.setHelper(new GuvnorHelper(baseUrl, user, pass) {
@Override
public GetMethod createGetMethod(String url) {
return new MockGetMethod(url);
}
@Override