def METHOD_NAME():
    mock_get_items = mock.Mock(return_value=['a', 'b', 'c', 'd', 'e', 'f', 'g'])
    d = Discovery(limit=10, include={'b.*': None}, exclude=['b.*'], interval=0, get_items_func=mock_get_items)
    assert list(d.get_items()) == []
    assert mock_get_items.call_count == 1