RestStorageService service = getStorageService(getCredentials());
// Create bucket in default (null) location
String bucketName = getBucketNameForTest("testBucketLocations-test1");
try {
service.createBucket(bucketName);
assertEquals(StorageService.BUCKET_STATUS__MY_BUCKET, service.checkBucketStatus(bucketName));
String bucketLocation = (service instanceof S3Service
? ((S3Service) service).getBucketLocation(bucketName)
: ((GoogleStorageService) service).getBucketLocation(bucketName) );
if (TARGET_SERVICE_S3.equals(getTargetService())) {
assertEquals(null, bucketLocation); // For S3, the default/null location is literally null