Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function testWhenAddressIdentifierIsUpdated_dataIsProperlyAssigned() { |
||
37 | $addressChange = AddressChange::newMembershipAddressChange( AddressChange::ADDRESS_TYPE_PERSON, 2 ); |
||
38 | $initialIdentifier = $addressChange->getCurrentIdentifier(); |
||
39 | $addressChange->updateAddressIdentifier(); |
||
40 | |||
41 | $this->assertSame( $initialIdentifier, $addressChange->getPreviousIdentifier() ); |
||
42 | $this->assertNotSame( $initialIdentifier, $addressChange->getCurrentIdentifier() ); |
||
43 | } |
||
44 | } |
||
45 |