Sander Stad has a bonus post in his log shipping series:
We want everyone to know about this module. Chrissy LeMaire reached out to me and asked if I could write some tests for the log shipping part and I did.
Because I wrote the log shipping commands for dbatools I was excited about creating a test that could be implemented into this module for everyone to use.
That test is also quite easy to use, as Sander demonstrates.