[#BloombergLP-ball-TestObserver-lastPublishedContext] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/TestObserver.adoc[TestObserver]::lastPublishedContext :relfileprefix: ../../../ :mrdocs: Return a reference to the context most recently published by this test observer. The behavior is undefined unless `publish` has been called at least once, and no other thread is manipulating this object concurrently (i.e., this function is _not_ thread safe). == Synopsis Declared in `<ball_testobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/ball/Context.adoc[Context] const& lastPublishedContext() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#