\NotificationServiceTest
Test registion for Immunoglobin
Synopsis
class NotificationServiceTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'NotificationServiceTest.yml';
- protected boolean $usesDatabase = true;
- // methods
- public void testSucessSend()
- public void testSucessSendToManyMembers()
- public void testBadParser()
- public void testBadProvider()
- public void testProviderMix()
- public void testUnreadCountForCurrentMember()
- public void testUnreadCountForUnknowUser()
- public void testUnreadCountForForbiddenUser()
- public void testUnreadCountForViewableUser()
- public void testUnreadListForMember()
- public void testUnreadListForUnknowMember()
- public void testUnreadListForForbiddenUser()
- public void testMarkNotificationAsRead()
- public void testMarkNotificationAsReadTwice()
- public void testMarkUnknowNotificationAsRead()
- public void testMarkNotificationAsReadForDifferentUser()
- public void testMarkNotificationAsReadByAdmin()
- public void markAllNotificationAsReadForMember()
- public void markAllNotificationAsReadForDifferentMember()
- public void markAllNotificationAsReadForUnknownMember()
Hierarchy
Extends
- SapphireTest
Members
protected
- $fixture_file
- $usesDatabase
Methods
public
- markAllNotificationAsReadForDifferentMember()
- markAllNotificationAsReadForMember()
- markAllNotificationAsReadForUnknownMember()
- testBadParser()
- testBadProvider()
- testMarkNotificationAsRead()
- testMarkNotificationAsReadByAdmin()
- testMarkNotificationAsReadForDifferentUser()
- testMarkNotificationAsReadTwice()
- testMarkUnknowNotificationAsRead()
- testProviderMix()
- testSucessSend()
- testSucessSendToManyMembers()
- testUnreadCountForCurrentMember()
- testUnreadCountForForbiddenUser()
- testUnreadCountForUnknowUser()
- testUnreadCountForViewableUser()
- testUnreadListForForbiddenUser()
- testUnreadListForMember()
- testUnreadListForUnknowMember()