test that a message is logged to the attached logger when the plugin is attached to a cache adapter