BloombergLP::bsls::ProtocolTest::method

Return a BSLS_TESTIMP object to perform testing of a specific method.

Synopsis

Declared in <bsls_protocoltest.h>

BSLS_TESTIMP
method(char const* methodDesc = "");

Description

The method under test is invoked via operator->(). Note that BSLS_TESTIMP is a proxy to the actual protocol class.

Return Value

test-implementation proxy for invoking a protocol method

Parameters

NameDescription
methodDescoptional description of the method being tested