PHP Class eZ\Publish\Core\REST\Client\Tests\HttpClient\Authentication\BasicAuthTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$innerHttpClientMock PHPUnit_Framework_MockObject_MockObject Mock for the inner HTTP client.

Public Methods

Method Description
testAuthWithMessage ( ) Tests authentication with message.
testAuthWithoutMessage ( ) Tests authentication without message.

Protected Methods

Method Description
getInnerHttpClientMock ( ) : eZ\Publish\Core\REST\Client\HttpClient Gets the inner HTTP client mock.

Method Details

getInnerHttpClientMock() protected method

Gets the inner HTTP client mock.
protected getInnerHttpClientMock ( ) : eZ\Publish\Core\REST\Client\HttpClient
return eZ\Publish\Core\REST\Client\HttpClient

testAuthWithMessage() public method

Tests authentication with message.
public testAuthWithMessage ( )

testAuthWithoutMessage() public method

Tests authentication without message.

Property Details

$innerHttpClientMock protected property

Mock for the inner HTTP client.
protected PHPUnit_Framework_MockObject_MockObject $innerHttpClientMock
return PHPUnit_Framework_MockObject_MockObject