If the object is not created through PDO::prepare(), e.g. in a mock scenario, it should still be possible to initialize the $queryString property. See bug #81084.