test method for activitycontroller #handleevent org.osgi.service.event.event verifies that illegalargumentexception is thrown when event 's activityevent #message_key property isnull . 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 ActivityController acitivityController concode_field_sep void testHandleEventThrowsIllegalArgumentExceptionOnEmptyUser concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnEmptyApplication concode_elem_sep void testDeregisterUserSessionWithNullServerSessonThrowsException concode_elem_sep void testDeregisterUserSessionWithNullServerSessionIdThrowsException concode_elem_sep void testGetServerSessionByUserId concode_elem_sep void tearDown concode_elem_sep void testDeregisterUserSessionRemovesUserFromKnownClients concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnEmptyMessage concode_elem_sep void testHandleEventThrowsIllegalArgumentExceptionOnNullApplication 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
void function ( ) { testEventProperties . put ( ActivityEvent . MESSAGE_KEY , null ) ; acitivityController . handleEvent ( new Event ( ActivityEvent . EVENT_TOPIC , testEventProperties ) ) ; }