Added support of nmock3 for replace stubs