public function setUp() { parent::setUp(); $em = $this->getEntityManager(); $this->pairHistoryManager = new PairHistoryManager($em, 'EUR'); $this->ratioHistoryRepo = $em->getRepository('Tbbc\\MoneyBundle\\Entity\\RatioHistory'); }
public function setUp() { parent::setUp(); $this->doctrineStorage = new DoctrineStorage($this->getEntityManager(), 'USD'); }