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: 27 days 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);
});