PHP Class seregazhuk\tests\Bot\ProvidersContainerTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: seregazhuk/php-pinterest-bot

Protected Properties

Property Type Description
$container seregazhuk\PinterestBot\Api\ProvidersContainer
$request seregazhuk\PinterestBot\Api\Request | Mockery\MockInterface
$response seregazhuk\PinterestBot\Api\Response | Mockery\MockInterface

Public Methods

Method Description
it_returns_http_client_instance ( )
it_should_proxy_client_info_to_response ( )
it_should_return_provider_instance ( )
it_should_throw_exception_on_getting_wrong_provider ( )
setUp ( )
tearDown ( )

Method Details

it_returns_http_client_instance() public method

it_should_proxy_client_info_to_response() public method

it_should_return_provider_instance() public method

it_should_throw_exception_on_getting_wrong_provider() public method

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

Property Details

$container protected property

protected ProvidersContainer,seregazhuk\PinterestBot\Api $container
return seregazhuk\PinterestBot\Api\ProvidersContainer

$request protected property

protected Request,seregazhuk\PinterestBot\Api|MockInterface,Mockery $request
return seregazhuk\PinterestBot\Api\Request | Mockery\MockInterface

$response protected property

protected Response,seregazhuk\PinterestBot\Api|MockInterface,Mockery $response
return seregazhuk\PinterestBot\Api\Response | Mockery\MockInterface