'>>> driver = DummyStorageDriver(\'key\', \'secret\')
>>> driver.get_object(\'unknown\', \'unknown\')
... #doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
ContainerDoesNotExistError:
>>> container_name = \'test container 1\'
>>> container = driver.create_container(container_name=container_name)
>>> container
<Container: name=test container 1, provider=Dummy Storage Provider>
>>> driver.get_object(
...  \'test container 1\', \'unknown\') #doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
ObjectDoesNotExistError:
>>> obj = container.upload_object_via_stream(object_name=\'test object\',
...      iterator=DummyFileObject(5, 10), extra={})
>>> obj.name
\'test object\'
>>> obj.size
50
@inherits: :class:`StorageDriver.get_object`'

def get_object(self, container_name, object_name):

    self.get_container(container_name)
    container_objects = self._containers[container_name]['objects']
    if (object_name not in container_objects):
        raise ObjectDoesNotExistError(object_name=object_name, value=None, driver=self)
    return container_objects[object_name]
