Add fixture for a mocked variable reference
@@ -18,6 +18,7 @@ from unittest.mock import MagicMock
import pytest
import pynguin.testcase.testcase as tc
+import pynguin.testcase.variable.variablereferenceimpl as vri
# -- FIXTURES --------------------------------------------------------------------------
@@ -28,6 +29,11 @@ def test_case_mock():
return MagicMock(tc.TestCase)
+@pytest.fixture(scope="function")
+def variable_reference_mock():
+ return MagicMock(vri.VariableReferenceImpl)
+
+
# -- CONFIGURATIONS AND EXTENSIONS FOR PYTEST ------------------------------------------
