ParagonIE\EasyDB\Tests\ErrorCodeTest::testNoError PHP Method

testNoError() public method

public testNoError ( callable $cb )
$cb callable
    public function testNoError(callable $cb)
    {
        $db = $this->EasyDBExpectedFromCallable($cb);
        $this->assertSame($db->errorCode(), '00000');
    }
ErrorCodeTest