function Braintree_AddressTest::testCustomerIdNotEqual in Commerce Braintree 7
File
- braintree_php/
tests/ unit/ AddressTest.php, line 38
Class
Code
function testCustomerIdNotEqual() {
$first = Braintree_Address::factory(array(
'customerId' => 'c1',
'id' => 'a1',
));
$second = Braintree_Address::factory(array(
'customerId' => 'not c1',
'id' => 'a1',
));
$this
->assertFalse($first
->isEqual($second));
$this
->assertFalse($second
->isEqual($first));
}