Typo.
Mock generator does not overload method with a PHP reserved word as name, ie defined in a C extension (for example, redis::echo()), thanks to Axel Etcheverry for its help.