Here usage of `define` and `definition` in same sentence looks odd. Following message might look better:
```
The mock named "$name" has been already defined with a different mock configuration
```
Also there is a typo error in `defintion` word.