public function testResetarAdapterFazComQueODataMapperInstancieUmNovoAdapter() { CoreExt_EntityDataMapperStub::resetDefaultDbAdapter(); $entityMapper = new CoreExt_EntityDataMapperStub(); $this->assertNotSame($this->getDbAdapter(), $entityMapper->getDbAdapter()); }
public function testInicializaInstanciaDefaultDeClsbanco() { $mapper = new CoreExt_EntityDataMapperStub(); $this->assertType('clsBanco', $mapper->getDbAdapter()); }