PHP Classes

File: tests/FactoryTest.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   EasyDB   tests/FactoryTest.php   Download  
File: tests/FactoryTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: EasyDB
Simple Database Abstraction Layer around PDO
Author: By
Last change: appending visibility
composer run fix-style
Date: 5 years ago
Size: 432 bytes
 

Contents

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

namespace
ParagonIE\EasyDB\Tests;

use
ParagonIE\EasyDB\EasyDB;
use
ParagonIE\EasyDB\Factory;
use
PHPUnit\Framework\TestCase;

/**
 * Class FactoryTest
 * @package ParagonIE\EasyDB\Tests
 */
class FactoryTest extends TestCase
{
    public function
testFactoryCreate()
    {
       
$this->assertInstanceOf(
           
EasyDB::class,
           
Factory::create('sqlite::memory:')
        );
    }
}