public function find(Uid $uniqueId)
    {
        if (!array_key_exists((string) $uniqueId, $this->unitOfWorkStore)) {
            throw new UnitNotFoundException();
        }

        return $this->unitOfWorkStore[(string) $uniqueId];
    }