public function resolve($pattern, array $conditions = [])
    {
        $this
            ->setRegrex($pattern)
            ->extractParameters($conditions)
            ->replaceMocksWithConditions()
            ->generateGuid();

        return $this;
    }