[#BloombergLP-bsls-ProtocolTest-method]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ProtocolTest.adoc[ProtocolTest]::method
:relfileprefix: ../../../
:mrdocs:

Return a `BSLS&lowbar;TESTIMP` object to perform testing of a specific method&period;

== Synopsis

Declared in `&lt;bsls&lowbar;protocoltest&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BSLS&lowbar;TESTIMP
method(char const* methodDesc = &quot;&quot;);
----

== Description

The method under test is invoked via `operator&hyphen;&gt;()`&period; Note that `BSLS&lowbar;TESTIMP` is a proxy to the actual protocol class&period;

== Return Value

test&hyphen;implementation proxy for invoking a protocol method

== Parameters

[cols="1,4"]
|===
| Name| Description
| *methodDesc*
| optional description of the method being tested
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
