void function ( ) { testEventProperties . put ( Notification . NOTIFICATION_KEY_USER_ID , "srini_string" ) ; notificationController . handleEvent ( new Event ( Notification . NOTIFICATION_TOPIC_BROADCAST , testEventProperties ) ) ; }
test method for notificationcontroller #handleevent org.osgi.service.event.event verifies that illegalargumentexception is thrown when event 's notification #notification_key_user_id property is empty . concode_field_sep ServerMessage mockServerMessage concode_elem_sep ServerSession mockServerSession concode_elem_sep HashMap<String,Object> testEventProperties concode_elem_sep String MOCK_SESSION_ID concode_elem_sep NotificationController notificationController concode_field_sep void testHandleEventThrowsIllegalArgumentExceptionOnEmptyApplication concode_elem_sep void testDeregisterUserSessionWithNullServerSessonThrowsException concode_elem_sep void testDeregisterUserSessionWithNullServerSessionIdThrowsException concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnNullTitle concode_elem_sep void testGetServerSessionByUserId concode_elem_sep void tearDown concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnEmptyTitle concode_elem_sep void testDeletePersistentNotificationThrowsIllegalArgumentOnNullServerSession concode_elem_sep void testDeregisterUserSessionRemovesUserFromKnownClients concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnEmptyMessage concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnNullApplication concode_elem_sep void testDeletePersistentNotificationThrowsIllegalArgumentOnNullUserId concode_elem_sep void testRegisterUserSessionWithNullServerSessionThrowsException concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnNullUser concode_elem_sep void testRegisterUserSession concode_elem_sep void setUp concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnNullTimestamp concode_elem_sep void testRegisterUserSessionWithNullServerSessionIdThrowsException concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnNullMessage