[#BloombergLP-bsls-ProtocolTestImp-markEnter]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ProtocolTestImp.adoc[ProtocolTestImp]::markEnter
:relfileprefix: ../../../
:mrdocs:

Mark this object as entered for the purpose of calling a protocol method&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
markEnter() const;
----

== Description

The `entered` property is tested in the destructor to check for test failures (i&period;e&period;, if `entered &equals;&equals; false` then the test cannot fail since it never ran)&period; Note that `markEnter` and `markDone` calls have to be paired for a protocol&hyphen;method&hyphen;call test to succeed&period;


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