void function ( ) { KeyMessage loc0 = new KeyMessage ( 17 , Key . UP , KeyAction . PRESS ) ; assertEquals ( Key . UP , loc0 . key ( ) ) ; assertEquals ( KeyAction . PRESS , loc0 . action ( ) ) ; }
ensures the constructor and accessor methods work correctly . concode_field_sep PlaceHolder placeHolder concode_field_sep void testToString concode_elem_sep void testConstructorKeyNull concode_elem_sep void testConstructorActionNull