PHP Class phpmock\functions\IncrementableTest

See also: Incrementable
Author: Markus Malkusch ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: php-mock/php-mock

Méthodes publiques

Méthode Description
provideTestIncrement ( ) : array Test cases for testIncrement().
testIncrement ( mixed $expected, mixed $increment, phpmock\functions\Incrementable $incrementable, callable $getValue ) Tests increment().

Method Details

provideTestIncrement() public méthode

Test cases for testIncrement().
public provideTestIncrement ( ) : array
Résultat array Test cases.

testIncrement() public méthode

Tests increment().
public testIncrement ( mixed $expected, mixed $increment, phpmock\functions\Incrementable $incrementable, callable $getValue )
$expected mixed The expected value.
$increment mixed The amount of increase.
$incrementable phpmock\functions\Incrementable The tested Incrementable.
$getValue callable The lambda for getting the value.