Entity repository generator default repository

1) I set default repository class in configuration to MyApp\Doctrine\DefaultRepository
2) I created entity class MyApp\Entity\TestEntity and generated repository class for it
3) Actually the repository class "MyApp\Entity\TestEntityRepository" turned out to be a descendant of "Doctrine\ORM\EntityRepository" when I expected "MyApp\Doctrine\DefaultRepository" as default.
For example : https://github.com/ykasenka-ScnSoft/simple-forum/blob/develop/src/Forum/CoreBundle/Doctrine/ORM/Tools/EntityRepositoryGenerator.php#L47