'Test availability of resource when default_client_name is None.
When default_client_name is None, resource is considered as available.'

def test_default_true_with_default_client_name_none(self):

    with mock.patch('heat.tests.generic_resource.ResourceWithDefaultClientName.default_client_name', new_callable=mock.PropertyMock) as mock_client_name:
        mock_client_name.return_value = None
        self.assertTrue(generic_rsrc.ResourceWithDefaultClientName.is_service_available(context=mock.Mock())[0])
