+ def test_notify_recipient
+ message = create(:message)
+ assert_not_predicate message, :muted?
+ assert_predicate message, :notify_recipient?
+ end
+
+ def test_notify_recipient_for_muted_messages
+ message = create(:message, :muted)
+ assert_predicate message, :muted?
+ assert_not_predicate message, :notify_recipient?
+ end
+
+ def test_unmuting_a_muted_message
+ message = create(:message, :muted)
+ assert_predicate message, :muted?
+
+ message.unmute
+ assert_not_predicate message, :muted?
+ end
+