PHP Classes

File: tests/XrInspectorNullTest.php

Recommend this page to a friend!
  Packages of Rodolfo Berrios Arce   XR PHP Debugger Online   tests/XrInspectorNullTest.php   Download  
File: tests/XrInspectorNullTest.php
Role: Class source
Content type: text/plain
Description: Class source
Class: XR PHP Debugger Online
Debug PHP code using a Web interface
Author: By
Last change:
Date: 4 years ago
Size: 688 bytes
 

 

Contents

Class file image Download
<?php

/*
 * This file is part of Chevere.
 *
 * (c) Rodolfo Berrios <rodolfo@chevere.org>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

declare(strict_types=1);

namespace Chevere\Xr\Tests;

use Chevere\Xr\Inspector\XrInspectorNull;
use Chevere\Xr\XrClient;
use PHPUnit\Framework\TestCase;

final class XrInspectorNullTest extends TestCase
{
    public function testConstruct(): void
    {
        $client = new XrClient();
        $inspector = new XrInspectorNull($client);
        foreach (['memory', 'pause'] as $method) {
            $this->assertNull($inspector->$method());
        }
    }
}