puzzle/assert

Assert for PHP Unit

1.2.0 2017-07-11 15:09 UTC

This package is auto-updated.

Last update: 2024-10-05 18:19:07 UTC


README

Assertions for PHPUnit

QA

SensioLabsInsight

Example

<?php

class PonyTest extends \PHPUnit_Framework_TestCase
{
    use \Puzzle\Assert\ArrayRelated;
    
    public function testRetrieveUnicorn()
    {
        // ...
        $this->assertSameArrayExceptOrder([1, 2, 3, 4], $result);
    }
}

Changelog

No BC breaks yet