/** * @test */ public function testValidateAppId() { $this->setExpectedException('PPMissingCredentialException'); $credAppid = new PPCertificateCredential("platfo_1255077030_biz_api1.gmail.com", "1255077037", "config/sandbox-cert.pem", ""); $credAppid->validate(); }
/** * @test */ public function testValidateCertPath() { $this->setExpectedException('PPMissingCredentialException'); $credCertPath = new PPCertificateCredential("platfo_1255077030_biz_api1.gmail.com", "1255077037", ""); $credCertPath->validate(); }