PHP Classes

File: tests/Unit/ValueObjects/CouplingTest.php

Recommend this page to a friend!
  Classes of DeGraciaMathieu   PHP Class Dependencies Analyzer   tests/Unit/ValueObjects/CouplingTest.php   Download  
File: tests/Unit/ValueObjects/CouplingTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Class Dependencies Analyzer
Analyze the dependencies of project classes
Author: By
Last change:
Date: 2 days ago
Size: 207 bytes
 

Contents

Class file image Download
<?php

use App\Domain\ValueObjects\Coupling;

test('it increments the coupling', function () {

   
$coupling = new Coupling(1);

   
$coupling->increment();

   
expect($coupling->getValue())->toBe(2);
});