protected function addHelpMock($key, \PHPUnit_Framework_MockObject_MockObject $mock)
    {
        if (isset($this->helpMocks[$key])) {
            throw new \LogicException('The help mock you are trying to add is already set.');
        }

        $this->helpMocks[$key] = $mock;

        return $this;
    }