'verify the fields returned by _update_stats.'

def test_update_stats(self):

    self.driver = FakeDS8KProxy(self.storage_info, self.logger, self.exception, self)
    self.driver.setup(self.ctxt)
    expected_result = {'volume_backend_name': TEST_VOLUME_BACKEND_NAME, 'serial_number': TEST_SOURCE_SYSTEM_UNIT, 'extent_pools': TEST_POOL_ID_1, 'vendor_name': 'IBM', 'driver_version': 'IBM    Storage    (v2.0.0)', 'storage_protocol': storage.XIV_CONNECTION_TYPE_FC, 'total_capacity_gb': 10, 'free_capacity_gb': 10, 'reserved_percentage': 0, 'consistent_group_snapshot_enabled': True, 'group_replication_enabled': True, 'consistent_group_replication_enabled': True, 'multiattach': False}
    self.driver._update_stats()
    self.assertDictEqual(expected_result, self.driver.meta['stat'])
