PHP Classes

File: tests/EnumsTest.php

Recommend this page to a friend!
  Packages of ángel cruz   PHP Instapago   tests/EnumsTest.php   Download  
File: tests/EnumsTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Instapago
Process payments with the Instapago API
Author: By
Last change:
Date: 10 months ago
Size: 296 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

use
Instapago\Instapago\Enums\PaymentType;

describe('Enums Tests', function () {
   
it('has correct PaymentType values', function () {
       
expect(PaymentType::DIRECT->value)->toBe('2')
            ->
and(PaymentType::RESERVED->value)->toBe('1');
    });
});