Sylius/Sylius — pull request #820 by winzou (2014-01-12 06:13:44+00:00)
Title: [WIP] Add EntityToIdentifier form type

Try to set up a generic `EntityToIdentifierType`.

It's all OK apart from the specs. I'm a little confuse how to test the `transform` method. I need a fake entity to test it, but phpspec says me that my `FakeEntity` doesn't exist. How would you do to test the `transform` and `reverse` methods?

Thanks.