PHP 클래스 HamcrestTypeBridge

파일 보기 프로젝트 열기: hafriedlander/phockito 1 사용 예제들

공개 메소드들

메소드 설명
argOfTypeThat ( string $type, Hamcrest_Matcher $matcher ) : Object Creates a special mock of $type which wraps the given $matcher.

메소드 상세

argOfTypeThat() 공개 정적인 메소드

Creates a special mock of $type which wraps the given $matcher.
public static argOfTypeThat ( string $type, Hamcrest_Matcher $matcher ) : Object
$type string Name of the class to subtype
$matcher Hamcrest_Matcher The matcher to proxy
리턴 Object A special mock of type $type that wraps $matcher, circumventing type issues.