public function testGetContainer()
 {
     $container = $this->getContainerMock();
     $adapter = new Rackspace($container);
     $this->assertEquals($container, $adapter->getContainer());
 }
 public function testListContents()
 {
     $container = $this->getContainerMock();
     $container->shouldReceive('getName')->andReturn('container_name');
     $dataObject = $this->getDataObjectMock('filename.ext');
     $container->shouldReceive('objectList')->andReturn(new ArrayIterator([$dataObject]), new ArrayIterator());
     $adapter = new Rackspace($container);
     $this->assertInternalType('array', $adapter->listContents('', true));
 }