1<?php
2/*
3 * This file is part of PHPUnit.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11class PHPUnit_Framework_Constraint_SameSize extends PHPUnit_Framework_Constraint_Count
12{
13    /**
14     * @var int
15     */
16    protected $expectedCount;
17
18    /**
19     * @param int $expected
20     */
21    public function __construct($expected)
22    {
23        parent::__construct($this->getCountOf($expected));
24    }
25}
26