public function andReturn($returnValue)
    {
        $this->expectation->setPerformCallback(function($name, $args) use ($returnValue) {
            if ($returnValue instanceof \Closure) {
                return $returnValue($args);
            } else {
                return $returnValue;
            }
        });
        
        return $this;
    }