Restoring a stubbed method