Split Tester class into two classes
Split the Tester class into two, one for creating the test (TestFactory) and one for running the test (TestRunner), this way we can stop passing a proxy to disambiguate the class instance.
-
Create new classes -
Create instances for the new classes (without breaking the old class) -
Switch to new classes at call site -
remove old class
Edited by Bennet Bleßmann