The method markingClasses() does not exist on SilverStripe\ORM\Tests\H...chyOnSubclassTestObject. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation