public function replaceMocksWithConditions()
    {
        foreach ($this->parameters as $parameter => $condition) {
            $this->regrex = preg_replace("/{{$parameter}}/", $condition, $this->regrex);
        }

        return $this;
    }