PHP 클래스 spec\Crummy\Phlack\PhlackSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: mcrumm/phlack

공개 프로퍼티들

프로퍼티 타입 설명
$mockConfig
$mockUrl

공개 메소드들

메소드 설명
it_assumes_it_received_a_client_config_fromConfig ( )
it_assumes_it_received_a_client_config_when_constructed_with_an_array ( )
it_assumes_it_received_a_url_when_constructed_with_a_string ( )
it_assumes_url_when_factory_gets_a_single_argument ( )
it_fails_to_instantiate_with_an_invalid_client ( Guzzle\Service\Client $client )
it_fails_to_send_nonsense ( $client, Iterator $iterator )
it_is_initializable ( )
it_returns_a_message_builder ( )
it_returns_an_attachment_builder ( )
it_returns_its_client ( $client )
it_sends_a_string_message ( $client, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
it_sends_an_array_of_message_parameters ( $client, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
it_sends_any_JsonSerializable_that_returns_an_array ( $client, JsonSerializable $message, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
it_sends_messages ( $client, Message $message, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
its_factory_accepts_the_client_config ( )
let ( PhlackClient $client, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )

메소드 상세

it_assumes_it_received_a_client_config_fromConfig() 공개 메소드

it_assumes_it_received_a_client_config_when_constructed_with_an_array() 공개 메소드

it_assumes_it_received_a_url_when_constructed_with_a_string() 공개 메소드

it_assumes_url_when_factory_gets_a_single_argument() 공개 메소드

it_fails_to_instantiate_with_an_invalid_client() 공개 메소드

public it_fails_to_instantiate_with_an_invalid_client ( Guzzle\Service\Client $client )
$client Guzzle\Service\Client

it_fails_to_send_nonsense() 공개 메소드

public it_fails_to_send_nonsense ( $client, Iterator $iterator )
$iterator Iterator

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_returns_a_message_builder() 공개 메소드

it_returns_an_attachment_builder() 공개 메소드

it_returns_its_client() 공개 메소드

public it_returns_its_client ( $client )

it_sends_a_string_message() 공개 메소드

public it_sends_a_string_message ( $client, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
$command Guzzle\Service\Command\OperationCommand
$response Crummy\Phlack\Bridge\Guzzle\Response\MessageResponse

it_sends_an_array_of_message_parameters() 공개 메소드

public it_sends_an_array_of_message_parameters ( $client, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
$command Guzzle\Service\Command\OperationCommand
$response Crummy\Phlack\Bridge\Guzzle\Response\MessageResponse

it_sends_any_JsonSerializable_that_returns_an_array() 공개 메소드

public it_sends_any_JsonSerializable_that_returns_an_array ( $client, JsonSerializable $message, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
$message JsonSerializable
$command Guzzle\Service\Command\OperationCommand
$response Crummy\Phlack\Bridge\Guzzle\Response\MessageResponse

it_sends_messages() 공개 메소드

public it_sends_messages ( $client, Message $message, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
$message Crummy\Phlack\Message\Message
$command Guzzle\Service\Command\OperationCommand
$response Crummy\Phlack\Bridge\Guzzle\Response\MessageResponse

its_factory_accepts_the_client_config() 공개 메소드

let() 공개 메소드

public let ( PhlackClient $client, Guzzle\Service\Command\OperationCommand $command, MessageResponse $response )
$client Crummy\Phlack\Bridge\Guzzle\PhlackClient
$command Guzzle\Service\Command\OperationCommand
$response Crummy\Phlack\Bridge\Guzzle\Response\MessageResponse

프로퍼티 상세

$mockConfig 공개적으로 정적으로 프로퍼티

public static $mockConfig

$mockUrl 공개적으로 정적으로 프로퍼티

public static $mockUrl