Functionality and tests for reusable social notifications