Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
seregazhuk
tests
Bot
RequestTest
getHttpObject
seregazhuk\tests\Bot\RequestTest::getHttpObject PHP Метод
Документация по классу RequestTest
Показать файл
Открыть проект
getHttpObject()
защищенный
Метод
protected
getHttpObject
( ) :
Mock | seregazhuk\PinterestBot\Api\Contracts\HttpClient
Результат
Mockery\Mock | seregazhuk\PinterestBot\Api\Contracts\HttpClient
protected function getHttpObject() { $mock = Mockery::mock(HttpClient::class); return $mock; }
RequestTest
createRequestObject
getHttpObject
http_should_execute_and_return
it_should_clear_token_and_login_status_after_logout
it_should_create_pinterest_request_object_with_bookmarks
it_should_create_pinterest_request_object_with_data
it_should_create_post_data_for_upload
it_should_create_simple_pinterest_request_object
it_should_load_cookies_from_previously_saved_session_on_auto_login
it_should_return_false_on_auto_login_when_auth_cookie_not_found
it_should_return_logged_in_status
it_should_return_true_on_auto_login_when_auth_cookie_exist
it_should_set_csrf_token_to_default_value_after_clear
it_should_throw_exception_uploading_file_that_does_not_exist
tearDown