test deleting a thing . concode_field_sep String COOKIE concode_elem_sep String USERNAME concode_elem_sep SubmitActions submitAction concode_elem_sep Response responseTenMinutesLimit concode_elem_sep RestClient restClient concode_elem_sep Response responseNotAuthor concode_elem_sep String REDDIT_NAME concode_elem_sep Response responseEmpty concode_elem_sep String MODHASH concode_elem_sep User user concode_elem_sep ExpectedException exception concode_elem_sep Response responseUserRequired concode_field_sep void testSubmitLink concode_elem_sep void testEditUserTextNotAuthor concode_elem_sep void testSubmitUserRequired concode_elem_sep void testCreateLiveUserRequired concode_elem_sep void testUpdateLiveUserRequired concode_elem_sep void testUpdateLive concode_elem_sep void testEditUserText concode_elem_sep void testComment concode_elem_sep void testCreateLive concode_elem_sep void testSubmitSelfPost concode_elem_sep void testCommentUserRequired concode_elem_sep void setup concode_elem_sep void testCommentTenMinutesLimit
void function ( ) { when ( user . getModhash ( ) ) . thenReturn ( MODHASH ) ; when ( user . getCookie ( ) ) . thenReturn ( COOKIE ) ; when ( restClient . post ( "srini_string" + "srini_string" + "srini_string" + user . getModhash ( ) , ApiEndpointUtils . DELETE , user . getCookie ( ) ) ) . thenReturn ( responseEmpty ) ; assertTrue ( submitAction . delete ( "srini_string" ) ) ; }