[#SetMockTime-0ef]
= SetMockTime
:mrdocs:

For testing&period; Set the mock time from a NodeClock time point&period;

== Synopsis

Declared in `&lt;util&sol;time&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SetMockTime(std::chrono::time&lowbar;point&lt;NodeClock, std::chrono::seconds&gt; mock);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *mock*
| Mock time point on the NodeClock in seconds&period;
|===


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