puzzle/assert

Assert for PHP Unit

1.2.0 2017-07-11 15:09 UTC

This package is auto-updated.

Last update: 2024-12-05 18:42:24 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