PHP Classes

File: tests/autoloader_test.php

Recommend this page to a friend!
  Classes of Samuel Adeshina   Plug Loader   tests/autoloader_test.php   Download  
File: tests/autoloader_test.php
Role: Unit test script
Content type: text/plain
Description: PHPUnit Test
Class: Plug Loader
Autoload classes based on PSR-4 recommendation
Author: By
Last change:
Date: 8 years ago
Size: 260 bytes


Class file image Download
namespace Plug\Autoloader;

AutoloaderTest extends \PHPUnit_Framework_TestCase
    public function
testFileCanBeFound() {
$autoloader = new Autoloader();
$found = $autoloader->requireFile("autoload.json");