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