/** * @expectedException Zend_Service_LiveDocx_Exception */ public function testLoginUsernamePasswordSoapClientException() { $phpLiveDocx = new Zend_Service_LiveDocx_MailMerge(); $phpLiveDocx->setUsername('phpunitInvalidUsername'); $phpLiveDocx->setPassword('phpunitInvalidPassword'); $phpLiveDocx->setSoapClient(new Zend_Soap_Client(self::ENDPOINT)); $phpLiveDocx->logIn(); }