Documentation

LogForwardingTest extends CloudApiTestCase
in

Class CloudApiTestCase

Table of Contents

$properties
testGetLogForwardingDestinations() mixed
testGetLogForwardingDestination() mixed
testCreateLogForwardingDestination() mixed
testDeleteLogForwardingDestination() mixed
testEnableLogForwardingDestination() mixed
testDisableLogForwardingDestination() mixed
testUpdateLogForwardingDestination() mixed
getPsr7StreamForFixture() Returns a PSR7 Stream for a given fixture. Stream
getPsr7JsonResponseForFixture() Returns a PSR7 Response (JSON) for a given fixture. Response
getPsr7GzipResponseForFixture() Returns a PSR7 Response (Gzip) for a given fixture. Response
getMockClient() Mock client class. Client

Properties

$properties

public mixed $properties = ['uuid', 'label', 'address', 'consumer', 'credentials', 'sources', 'status', 'flags', 'health', 'environment']

Methods

testGetLogForwardingDestinations()

public testGetLogForwardingDestinations( ) : mixed
Return values
mixed

testGetLogForwardingDestination()

public testGetLogForwardingDestination( ) : mixed
Return values
mixed

testCreateLogForwardingDestination()

public testCreateLogForwardingDestination( ) : mixed
Return values
mixed

testDeleteLogForwardingDestination()

public testDeleteLogForwardingDestination( ) : mixed
Return values
mixed

testEnableLogForwardingDestination()

public testEnableLogForwardingDestination( ) : mixed
Return values
mixed

testDisableLogForwardingDestination()

public testDisableLogForwardingDestination( ) : mixed
Return values
mixed

testUpdateLogForwardingDestination()

public testUpdateLogForwardingDestination( ) : mixed
Return values
mixed

getPsr7StreamForFixture()

Returns a PSR7 Stream for a given fixture.

protected getPsr7StreamForFixture( $fixture : string ) : Stream
Parameters
$fixture : string

The fixture to create the stream for.

Return values
Stream

getPsr7JsonResponseForFixture()

Returns a PSR7 Response (JSON) for a given fixture.

protected getPsr7JsonResponseForFixture( $fixture : string [, $statusCode : int = 200 ] ) : Response
Parameters
$fixture : string

The fixture to create the response for.

$statusCode : int = 200

A HTTP Status Code for the response.

Return values
Response

getPsr7GzipResponseForFixture()

Returns a PSR7 Response (Gzip) for a given fixture.

protected getPsr7GzipResponseForFixture( $fixture : string [, $statusCode : int = 200 ] ) : Response
Parameters
$fixture : string

The fixture to create the response for.

$statusCode : int = 200

A HTTP Status Code for the response.

Return values
Response

getMockClient()

Mock client class.

protected getMockClient( [ $response : mixed = '' ] ) : Client
Parameters
$response : mixed = ''
Return values
Client

Search results