optimize code
Merge branch 'master' of https://github.com/ignatenkobrain/automock