def METHOD_NAME(self):
    self.block_device_mapping.current_name = "some name"
    self.block_device_mapping.current_value = "some value"
    self.block_device_mapping.endElement("item", "some item", None)
    self.assertEqual(self.block_device_mapping["some name"], "some value")