Exemplo n.º 1
0
 public function testEmptyIssuerAddress()
 {
     try {
         $address = '';
         $issuer = new Issuer();
         $issuer->setAddress($address);
     } catch (\Exception $e) {
         $this->assertContains('must be an instance of NfeFocus\\Address', $e->getMessage());
     }
 }