fixed return type of stubbed method