[#BloombergLP-ball-TestObserver-lastPublishedRecord] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/TestObserver.adoc[TestObserver]::lastPublishedRecord :relfileprefix: ../../../ :mrdocs: Return a reference to the record 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/Record.adoc[Record] const& lastPublishedRecord() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#