PHP Classes

File: tests/Support/Facades/ColorityTest.php

Recommend this page to a friend!
  Classes of tomloprod   Colority   tests/Support/Facades/ColorityTest.php   Download  
File: tests/Support/Facades/ColorityTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Colority
Perform color transformation operations
Author: By
Last change:
Date: 7 months ago
Size: 325 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

use
Tomloprod\Colority\Services\ColorityManager;
use
Tomloprod\Colority\Support\Facades\Colority;

test('facade returns the same instance', function (): void {
   
$instance1 = ColorityManager::instance();
   
$instance2 = Colority::instance();

   
expect($instance1)->toBe($instance2);
});