What is the point of this third argument if it's not being tested here? Is the `$mapping['targetDocument']` value that is set to the new document class the only useful bit?