tests/unit/BuilderTest.php
/**
     * Real intention of this test is for test coverage of our try/catch block in AtlasQuery adapter
     */
Real intention of this test is for test coverage of our try/catch block in AtlasQuery adapter
Real intention of this test is for test coverage of our try / catch block in AtlasQuery adapter
public function testWrongDbDriver()
    {
        $this->expectExceptionMessageRegExp('/could not find driver/');
        (new DataMapper\Builder)
            ->setDsn('wrongDbDriver:')
            ->build();
    }
public function testWrongDbDriver ( ) { $ this -> expectExceptionMessageRegExp ( '/could not find driver/' ) ; ( new DataMapper \ Builder ) -> setDsn ( 'wrongDbDriver:' ) -> build ( ) ; }
Real intention of this test is for test coverage of our try/catch block in AtlasQuery adapter
Real intention of this test is for test coverage of our try / catch block in AtlasQuery adapter