Add method for transit by entity class and id in Workflow Bundle

use dataprovider pls, check doc [here](https://phpunit.de/manual/4.3/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers)