Assert that the size of two arrays (or `Countable` or `Iterator` objects) is not the same.
array|Countable|Iterator $expected:
array|Countable|Iterator $actual:
string $message:
public static function assertNotSameSize($expected, $actual, $message = '') {
if (!$expected instanceof Countable && !$expected instanceof Iterator && !is_array($expected)) {
throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'countable');
}
if (!$actual instanceof Countable && !$actual instanceof Iterator && !is_array($actual)) {
throw PHPUnit_Util_InvalidArgumentHelper::factory(2, 'countable');
}
$constraint = new PHPUnit_Framework_Constraint_Not(new PHPUnit_Framework_Constraint_SameSize($expected));
self::assertThat($actual, $constraint, $message);
}