test refactoring using shortcut enhanced getMock() method