1
0
mirror of synced 2025-02-20 22:23:14 +03:00

#1213 - DDC-3437 - removing redundant test method

This commit is contained in:
Marco Pivetta 2014-12-08 01:19:15 +01:00
parent af0be57538
commit 55bcc193ae

View File

@ -62,24 +62,6 @@ class ReflectionEmbeddedPropertyTest extends \PHPUnit_Framework_TestCase
));
}
public function testSetValueCanInstantiateObject()
{
$entity = new Entity();
$parentProperty = new ReflectionProperty('Doctrine\Tests\Models\Mapping\Entity', 'embedded');
$parentProperty->setAccessible(true);
$childProperty = new ReflectionProperty('Doctrine\Tests\Models\Mapping\Embedded', 'foo');
$childProperty->setAccessible(true);
$embeddedPropertyReflection = new ReflectionEmbeddedProperty(
$parentProperty,
$childProperty,
'Doctrine\Tests\Models\Mapping\Embedded'
);
$embeddedPropertyReflection->setValue($entity, 4);
$this->assertEquals(4, $entity->getEmbedded()->getFoo());
}
/**
* Data provider
*