3 * This file is part of PHPUnit.
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
12 * @since Class available since Release 3.6.0
14 class PHPUnit_Framework_Constraint_SameSize extends PHPUnit_Framework_Constraint_Count
19 protected $expectedCount;
22 * @param int $expected
24 public function __construct($expected)
26 parent::__construct($this->getCountOf($expected));