PHP Classes

File: tests/PhpProjectTemplateTest.php

Recommend this page to a friend!
  Classes of Eric Sizemore   PHP Project Template   tests/PhpProjectTemplateTest.php   Download  
File: tests/PhpProjectTemplateTest.php
Role: Unit test script
Content type: text/plain
Description: PHPUnit test class source
Class: PHP Project Template
Generate files for PHP projects from templates
Author: By
Last change:
Date: 1 month ago
Size: 723 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

/**
 * This file is part of Esi\PhpProjectTemplate.
 *
 * (c) Eric Sizemore <admin@secondversion.com>
 *
 * This source file is subject to the MIT license. For the full copyright and
 * license information, please view the LICENSE file that was distributed with
 * this source code.
 */

namespace Esi\PhpProjectTemplate\Tests;

use
Esi\PhpProjectTemplate\PhpProjectTemplate;
use
PHPUnit\Framework\Attributes\CoversClass;
use
PHPUnit\Framework\TestCase;

/**
 * @internal
 */
#[CoversClass(PhpProjectTemplate::class)]
final class PhpProjectTemplateTest extends TestCase
{
    public function
testFoo(): void
   
{
       
self::assertSame('bar', (new PhpProjectTemplate())->foo());
    }
}