16 lines
362 B
PHP
16 lines
362 B
PHP
<?php
|
|
|
|
// Autoload files using the Composer autoloader.
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
use GeNF\Dispatcher;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class TestRunner extends TestCase
|
|
{
|
|
public function testPrintHelloWorld() {
|
|
$actualClass = new Dispatcher();
|
|
$this->assertEquals('Hello World', $actualClass->init());
|
|
}
|
|
}
|