'Test for when clone lun is not passed a block count.'

def test_clone_lun_zero_block_count(self):

    self.library._get_lun_attr = mock.Mock(return_value={'Volume': 'fakeLUN'})
    self.library.zapi_client = mock.Mock()
    self.library.zapi_client.get_lun_by_args.return_value = [mock.Mock(spec=netapp_api.NaElement)]
    lun = fake.FAKE_LUN
    self.library._get_lun_by_args = mock.Mock(return_value=[lun])
    self.library._add_lun_to_table = mock.Mock()
    self.library._clone_lun('fakeLUN', 'newFakeLUN', 'false')
    self.library.zapi_client.clone_lun.assert_called_once_with('fakeLUN', 'fakeLUN', 'newFakeLUN', 'false', block_count=0, dest_block=0, src_block=0, qos_policy_group_name=None, source_snapshot=None, is_snapshot=False)
