public function setup()
 {
     $this->containerMock = mu::mockContainerInterface();
 }
 /**
  * Configures the tests
  */
 public function setup()
 {
     $this->entityManagerMock = mu::mockDoctrineEntityManager();
     $this->formMock = m::mock('Symfony\\Component\\Form\\Form');
     $this->requestMock = m::mock('Symfony\\Component\\HttpFoundation\\Request');
 }
Esempio n. 3
0
 public function testMockDoctrineEntityManager()
 {
     $return = MockeryUtils::mockDoctrineEntityManager();
     $this->assertInstanceOf('\\Mockery\\MockInterface', $return, 'Expected MockInterface object');
 }