Replace willReturn(..) by old fashion will($this->returnValue(...))

So we are compatible with 3.7