| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function testWhenAddressIdentifierIsUpdated_dataIsProperlyAssigned() { |
||
| 28 | $addressChange = new AddressChange(); |
||
| 29 | $initialIdentifier = $addressChange->getCurrentIdentifier(); |
||
| 30 | $addressChange->updateAddressIdentifier(); |
||
| 31 | |||
| 32 | $this->assertSame( $initialIdentifier, $addressChange->getPreviousIdentifier() ); |
||
| 33 | $this->assertNotSame( $initialIdentifier, $addressChange->getCurrentIdentifier() ); |
||
| 34 | } |
||
| 35 | } |
||
| 36 |