'test get_volume_stats.'

@mock.patch.object(hbsd_basiclib, 'get_process_lock')
@mock.patch.object(hbsd_snm2.HBSDSNM2, 'exec_hsnm', side_effect=_exec_hsnm)
def test_get_volume_stats(self, arg1, arg2):

    stats = self.driver.get_volume_stats(True)
    self.assertEqual('Hitachi', stats['vendor_name'])
