dont forget to register `ObjectType`. Something like this: https://github.com/Payum/Payum/blob/master/tests/Payum/Tests/Functional/Bridge/Doctrine/BaseMongoTest.php#L20