protected function setUp() { $this->obj1 = (object) array('name' => 'A'); $this->obj2 = (object) array('name' => 'B'); $this->obj3 = (object) array('name' => 'C'); $this->obj4 = (object) array('name' => 'D'); parent::setUp(); }
protected function setUp() { $this->query = $this->getMock('Symfony\\Bridge\\Propel1\\Tests\\Fixtures\\ItemQuery', array('filterById'), array(), '', true, true, true, false, true); $this->query->expects($this->any())->method('filterById')->with($this->anything())->will($this->returnSelf()); $this->createItems(); ItemQuery::$result = array($this->item1, $this->item2, $this->item3, $this->item4); parent::setUp(); }
protected function setUp() { $this->obj1 = new \stdClass(); $this->obj2 = new \stdClass(); $this->obj3 = new \stdClass(); $this->obj4 = new \stdClass(); parent::setUp(); }
protected function tearDown() { parent::tearDown(); $this->em = null; }