*/
class AttributeBagTest extends TestCase
{
- /**
- * @var array
- */
- private $array;
+ private $array = array();
/**
* @var AttributeBag
public function testCount()
{
- $this->assertEquals(count($this->array), count($this->bag));
+ $this->assertCount(count($this->array), $this->bag);
}
}