| @@ 528-539 (lines=12) @@ | ||
| 525 | * @param bool $canonicalize |
|
| 526 | * @param bool $ignoreCase |
|
| 527 | */ |
|
| 528 | public static function assertAttributeEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false) |
|
| 529 | { |
|
| 530 | self::assertEquals( |
|
| 531 | $expected, |
|
| 532 | self::readAttribute($actualClassOrObject, $actualAttributeName), |
|
| 533 | $message, |
|
| 534 | $delta, |
|
| 535 | $maxDepth, |
|
| 536 | $canonicalize, |
|
| 537 | $ignoreCase |
|
| 538 | ); |
|
| 539 | } |
|
| 540 | ||
| 541 | /** |
|
| 542 | * Asserts that two variables are not equal. |
|
| @@ 581-592 (lines=12) @@ | ||
| 578 | * @param bool $canonicalize |
|
| 579 | * @param bool $ignoreCase |
|
| 580 | */ |
|
| 581 | public static function assertAttributeNotEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false) |
|
| 582 | { |
|
| 583 | self::assertNotEquals( |
|
| 584 | $expected, |
|
| 585 | self::readAttribute($actualClassOrObject, $actualAttributeName), |
|
| 586 | $message, |
|
| 587 | $delta, |
|
| 588 | $maxDepth, |
|
| 589 | $canonicalize, |
|
| 590 | $ignoreCase |
|
| 591 | ); |
|
| 592 | } |
|
| 593 | ||
| 594 | /** |
|
| 595 | * Asserts that a variable is empty. |
|