1 | <?php |
||
7 | abstract class BasicTestCase extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | protected $container; |
||
10 | |||
11 | protected $em; |
||
12 | |||
13 | public function __construct() |
||
14 | { |
||
15 | global $container; |
||
16 | |||
17 | $this->container = $container; |
||
18 | |||
19 | $this->em = $container->getService('doctrine.entityManager'); |
||
20 | } |
||
21 | |||
22 | public function setUp() |
||
26 | |||
27 | public function tearDown() |
||
33 | } |
||
34 |