LPS-51731 Extract out the log assertion logic into a TestRule class
LPS-51731 SF