src/MockHelper.php
protected function getMockMethod($mockType)
    {
        if (!isset($this->mockTypesToMethodsMap[$mockType])) {
            throw new InvalidMockTypeException();
        }

        return $this->mockTypesToMethodsMap[$mockType];
    }
protected function getMockMethod($mockType)
    {
        if (!isset($this->mockTypesToMethodsMap[$mockType])) {
            throw new InvalidMockTypeException();
        }

        return $this->mockTypesToMethodsMap[$mockType];
    }
protected function getMockMethod ( $ mockType ) { if ( ! isset ( $ this -> mockTypesToMethodsMap [ $ mockType ] ) ) { throw new InvalidMockTypeException ( ) ; } return $ this -> mockTypesToMethodsMap [ $ mockType ] ; }
Returns a name of method for getting an instance of mock.

@param string $mockType A mock type.

@return string
@throws InvalidMockTypeException
Returns a name of method for getting an instance of mock .