Fix DDC-1514 test

See https://github.com/doctrine/doctrine2/pull/805