protected function getNamespaceName($className = null)
    {
        $parts = explode('\\', $className ?: $this->className);
        array_pop($parts);

        return implode('\\', $parts);
    }
protected function getNamespaceName($className = null)
    {
        $parts = explode('\\', $className ?: $this->className);
        array_pop($parts);

        return implode('\\', $parts);
    }
protected function getNamespaceName ( $ className = null ) { $ parts = explode ( '\\' , $ className ? : $ this -> className ) ; array_pop ( $ parts ) ; return implode ( '\\' , $ parts ) ; }
Get the namespace for the mocked class.

@param  string $className
@return string
Get the namespace for the mocked class .