function testIsDirNo()
 {
     $bucket = $this->getS3Bucket();
     $s3 = $this->getS3Client();
     $s3->expectNever('getObjectInfo');
     $s3->expectOnce('getBucket', array('bin.staticlocal.ch', 'foo/bar/dir/'));
     $s3->setReturnValue('getBucket', null);
     $storage = new binarypool_storage_driver_s3($bucket['storage'], $s3, $this->getMockCache());
     $this->assertEqual($storage->isDir('foo/bar/dir/'), false);
 }