public function testDoRequestExpectingException()
{
$exception = '\\LogicException';
$hook = $this->getLibraryHookMock(true);
$hook->expects($this->once())->method('doRequest')->will($this->throwException(new \LogicException('hook not enabled.')));
$client = new SoapClient(self::WSDL);
$client->setLibraryHook($hook);
$this->setExpectedException($exception);
$client->__doRequest('Knorx ist groß', self::WSDL, self::ACTION, SOAP_1_2);
}