diff --git a/form/unit_testing.rst b/form/unit_testing.rst index dca8f7d643c..32cb9b472bf 100644 --- a/form/unit_testing.rst +++ b/form/unit_testing.rst @@ -127,7 +127,7 @@ make sure the ``FormRegistry`` uses the created instance:: protected function setUp() { // mock any dependencies - $this->entityManager = $this->getMock('Doctrine\Common\Persistence\ObjectManager'); + $this->entityManager = $this->getMockBuilder('Doctrine\Common\Persistence\ObjectManager')->getMock(); parent::setUp(); } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy