From 9a14b404957f11ecdf3e5dc4a96b938847d45618 Mon Sep 17 00:00:00 2001
From: Stefano Rodriguez <stefano.rodriguez@fubles.com>
Date: Fri, 7 Sep 2012 14:44:18 +0200
Subject: [PATCH] use of assertCount

---
 .../Functional/OneToManyBidirectionalAssociationTest.php    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/Doctrine/Tests/ORM/Functional/OneToManyBidirectionalAssociationTest.php b/tests/Doctrine/Tests/ORM/Functional/OneToManyBidirectionalAssociationTest.php
index 0efe76fdf..75d9d2abe 100644
--- a/tests/Doctrine/Tests/ORM/Functional/OneToManyBidirectionalAssociationTest.php
+++ b/tests/Doctrine/Tests/ORM/Functional/OneToManyBidirectionalAssociationTest.php
@@ -174,7 +174,7 @@ class OneToManyBidirectionalAssociationTest extends \Doctrine\Tests\OrmFunctiona
         $this->assertEquals(2, count($results));
     }
 	
-	public function testMatchingBis()
+    public function testMatchingBis()
     {
         $this->_createFixture();
 
@@ -190,12 +190,12 @@ class OneToManyBidirectionalAssociationTest extends \Doctrine\Tests\OrmFunctiona
         ));
 
         $this->assertInstanceOf('Doctrine\Common\Collections\Collection', $results);
-        $this->assertEquals(1, count($results));
+        $this->assertCount(1, $results);
 
         $results = $features->matching(new Criteria());
 
         $this->assertInstanceOf('Doctrine\Common\Collections\Collection', $results);
-        $this->assertEquals(3, count($results));
+        $this->assertCount(3, $results);
     }
 
     private function _createFixture()