public function shouldListKeysWithoutDirectory()
{
$client = $this->getClient();
$adapter = new AwsS3($client, 'bucket', array('directory' => 'bar'));
$adapter->write('test.txt', 'some content');
$keys = $adapter->listKeys();
$this->assertEquals('test.txt', $keys['key']);
}