public function testSetValue() { $newValue = 'NewValue'; $this->claim->setValue($newValue); $this->assertSame($newValue, $this->claim->getValue()); }
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()); } }