프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cryptoMock | PHPUnit_Framework_MockObject_MockObject | ||
$dbMock | PHPUnit_Framework_MockObject_MockObject | ||
$lastCookieSet | ElggCookie | ||
$mockHash | string | ||
$mockToken | string | ||
$session | ElggSession | ||
$svc | |||
$thirtyDaysAgo | integer | ||
$timeSlept | integer | ||
$user123 | PHPUnit_Framework_MockObject_MockObject |
메소드 | 설명 | |
---|---|---|
getSvcWithCookie ( string $cookie_token = '' ) : |
public getMockElggUser ( $guid ) |
protected getSvcWithCookie ( string $cookie_token = '' ) : |
||
$cookie_token | string | |
리턴 |
public testGettingUserFromMissingHashReturnsNull ( ) |
public testGettingUserFromValidClientReturnsUser ( ) |
protected PHPUnit_Framework_MockObject_MockObject $cryptoMock | ||
리턴 | PHPUnit_Framework_MockObject_MockObject |
protected PHPUnit_Framework_MockObject_MockObject $dbMock | ||
리턴 | PHPUnit_Framework_MockObject_MockObject |