PAR - PHP Additional Repository

ObjectEqualityExtension
in package
implements Extension

FinalYes

A PHPUnit extension that adds the ability to use the "assertEquals" assertion on when the expected object implements the ObjectEquality interface.

Include the following in your phpunit configuration xml to enable the extension:

<phpunit ..>

  <extensions>
        <extension class="\Par\Core\PHPUnit\ObjectEqualityExtension"/>
  </extensions>

</phpunit>

Table of Contents

Interfaces

Extension

Methods

bootstrap()  : void

Methods

bootstrap()

public bootstrap(Configuration $configuration, Facade $facade, ParameterCollection $parameters) : void
Parameters
$configuration : Configuration
$facade : Facade
$parameters : ParameterCollection

        
On this page

Search results