use Symfony\Component\Form\Command\DebugCommand;
use Symfony\Component\Form\DependencyInjection\FormPass;
use Symfony\Component\Form\FormRegistry;
/**
* @author Bernhard Schussek <
[email protected]>
*/
class FormPassTest extends TestCase
{ public function testDoNothingIfFormExtensionNotLoaded() { $container =
$this->
createContainerBuilder();
$container->
compile();
$this->
assertFalse($container->
hasDefinition('form.extension'
));
} public function testDoNothingIfDebugCommandNotLoaded() { $container =
$this->
createContainerBuilder();
$container->
compile();