PHP Class HMLB\VW\SecretSoftware

I hope you don't understand this code.
Author: Hugues Maignol ([email protected])
Author: Martin Winterkorn ([email protected])
Datei anzeigen Open project: hmlb/phpunit-vw Class Usage Examples

Public Methods

Method Description
__construct ( array $additionalEnvVariables = [] )
force ( PHPUnit_Framework_TestCase $test ) Failing test cases are not a problem anymore.
underScrutiny ( ) : boolean Where the magic occurs.

Private Methods

Method Description
accessProperty ( ReflectionClass $reflection, string $property ) : ReflectionProperty
forcePropertyValue ( ReflectionClass $reflection, string $property, mixed $value, mixed $object ) : self
getPropertyValue ( ReflectionClass $reflection, string $property, mixed $object ) : mixed

Method Details

__construct() public method

public __construct ( array $additionalEnvVariables = [] )
$additionalEnvVariables array

force() public method

Failing test cases are not a problem anymore.
public force ( PHPUnit_Framework_TestCase $test )
$test PHPUnit_Framework_TestCase

underScrutiny() public method

Where the magic occurs.
public underScrutiny ( ) : boolean
return boolean