As you do not really care about the engine in this case, you probably could write something like:

```php
<?php
        $renderer = $this->getMockBuilder('Symfony\Component\Form\FormRenderer')
            ->setMethods(null)
            ->disableOriginalConstructor()
            ->getMock()
        ;
```

_(you can remove the use clause)_

and the PR would be perfect !