ServiceHttpTransportUnitTest
extends TestCase
in package
Tags
Table of Contents
- testExpectedHeaderValuesEx() : void
- Testing expected header values
- testExpectedHeaderValuesPublic() : void
- Testing expected header values
- testExpectedHeaderValuesPublicEx() : void
- Testing expected header values
- testPrivateCallNoException() : void
- Testing private call with createSession method
- testPublicCall() : void
- Testing public call without createSession method
- testSingleHeaderCallPublic() : void
- Testing that header function is called once for each header
- testTraceOutput() : void
- Testing trace outputting
- getServiceLogicMock() : object
- Getting mock object.
- getTransportMock() : object
- Getting mock object
- getTransportMockEx() : object
- Getting tricky mock object
- setUp() : void
- {@inheritdoc}
Methods
testExpectedHeaderValuesEx()
Testing expected header values
public
testExpectedHeaderValuesEx() : void
Return values
void —testExpectedHeaderValuesPublic()
Testing expected header values
public
testExpectedHeaderValuesPublic() : void
Return values
void —testExpectedHeaderValuesPublicEx()
Testing expected header values
public
testExpectedHeaderValuesPublicEx() : void
Return values
void —testPrivateCallNoException()
Testing private call with createSession method
public
testPrivateCallNoException() : void
Return values
void —testPublicCall()
Testing public call without createSession method
public
testPublicCall() : void
Return values
void —testSingleHeaderCallPublic()
Testing that header function is called once for each header
public
testSingleHeaderCallPublic() : void
Return values
void —testTraceOutput()
Testing trace outputting
public
testTraceOutput() : void
Return values
void —getServiceLogicMock()
Getting mock object.
protected
getServiceLogicMock() : object
Return values
object —ServiceLogic mocked object
getTransportMock()
Getting mock object
protected
getTransportMock() : object
Return values
object —ServiceRestTransport mocked object
getTransportMockEx()
Getting tricky mock object
protected
getTransportMockEx([string $mode = 'publicCall' ]) : object
Parameters
- $mode : string = 'publicCall'
Return values
object —mock object
setUp()
{@inheritdoc}
protected
setUp() : void