PHP Classes

File: tests/ErrorCodeTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   EasyDB   tests/ErrorCodeTest.php   Download  
File: tests/ErrorCodeTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: EasyDB
Simple Database Abstraction Layer around PDO
Author: By
Last change: manually changing to squish "method name is not in camel caps format" style error
Date: 6 years ago
Size: 446 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);

namespace
ParagonIE\EasyDB\Tests;

/**
 * Class EasyDBTest
 * @package ParagonIE\EasyDB\Tests
 */
class ErrorCodeTest extends EasyDBTest
{

   
/**
     * @param callable $cb
     * @dataProvider goodFactoryCreateArgument2EasyDBProvider
     */
   
public function testNoError(callable $cb)
    {
       
$db = $this->easyDBExpectedFromCallable($cb);

       
$this->assertSame($db->errorCode(), '00000');
    }
}