PHP 클래스 phpmock\functions\IncrementableTest

또한 보기: Incrementable
저자: Markus Malkusch ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: php-mock/php-mock

공개 메소드들

메소드 설명
provideTestIncrement ( ) : array Test cases for testIncrement().
testIncrement ( mixed $expected, mixed $increment, phpmock\functions\Incrementable $incrementable, callable $getValue ) Tests increment().

메소드 상세

provideTestIncrement() 공개 메소드

Test cases for testIncrement().
public provideTestIncrement ( ) : array
리턴 array Test cases.

testIncrement() 공개 메소드

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.