CloudFoundryOperations client = createClient(cloudCredentials,
CloudFoundryTestFixture.CF_PIVOTAL_SERVER_URL_HTTP);
CloudFoundryLoginHandler operationsHandler = new CloudFoundryLoginHandler(client);
try {
operationsHandler.login(new NullProgressMonitor());
}
catch (CoreException e) {
fail("Failed to log in due to: " + e.getMessage());
}