src/Viserio/Component/Container/MockContainer.php
public function has($id)
    {
        if (isset($this->mockedServices['mock::' . $id])) {
            return true;
        }

        return parent::has($id);
    }
public function has($id)
    {
        if (isset($this->mockedServices['mock::' . $id])) {
            return true;
        }

        return parent::has($id);
    }
{@inheritdoc}