/** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); bootstrap::dropAndCreateDatabase(); $this->_em = bootstrap::getEntityManager(); $this->doctrineORM = new DoctrineORM($this->_em, array()); $this->assertInstanceOf('\\ImmutableStateStatusTracker\\StorageAdapterInterface', $this->doctrineORM); }