public function setAssertionClassName($className)
{
if (!is_string($className)) {
throw new LogicException('Exception class name must be passed as a string');
}
if ($className !== 'Assert\\Assertion' && !is_subclass_of($className, 'Assert\\Assertion')) {
throw new LogicException($className . ' is not (a subclass of) Assert\\Assertion');
}
$this->assertionClassName = $className;
return $this;
}