diff --git a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php index a3ce514bb..e05382202 100644 --- a/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php +++ b/tests/Doctrine/Tests/ORM/Mapping/ClassMetadataBuilderTest.php @@ -332,7 +332,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase ), $this->cm->associationMappings); } - public function testIdentityOnCreateManyToOne() + public function testCreateManyToOneWithIdentity() { $this->assertIsFluent( $this->builder->createManyToOne('groups', 'Doctrine\Tests\Models\CMS\CmsGroup') @@ -513,7 +513,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase ), $this->cm->associationMappings); } - public function testDisallowCreateOneToOneWithIdentityOnInverseSide() + public function testThrowsExceptionOnCreateOneToOneWithIdentityOnInverseSide() { $this->setExpectedException('Doctrine\ORM\Mapping\MappingException'); @@ -607,7 +607,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase ), $this->cm->associationMappings); } - public function testDisallowIdentityOnCreateManyToMany() + public function testThrowsExceptionOnCreateManyToManyWithIdentity() { $this->setExpectedException('Doctrine\ORM\Mapping\MappingException'); @@ -660,7 +660,7 @@ class ClassMetadataBuilderTest extends \Doctrine\Tests\OrmTestCase ), $this->cm->associationMappings); } - public function testDisallowIdentityOnCreateOneToMany() + public function testThrowsExceptionOnCreateOneToManyWithIdentity() { $this->setExpectedException('Doctrine\ORM\Mapping\MappingException');