boolean function ( String arg0 , String arg1 ) { try { Thread . sleep ( 300 ) ; } catch ( InterruptedException loc0 ) { throw new IllegalStateException ( loc0 ) ; } return ! envelopeMatching ( payloadWith ( arg0 , arg1 ) ) . isPresent ( ) ; }
method for testing negative conditions . checks whether an envelope containing specified element in the payload has not been dispatched . concode_field_sep List<JsonEnvelope> recordedEnvelopes concode_field_sep Predicate<JsonEnvelope> metadataWith concode_elem_sep boolean notFoundEnvelopeWithMetadataOf concode_elem_sep void record concode_elem_sep Optional<JsonEnvelope> envelopeMatching concode_elem_sep Predicate<JsonEnvelope> payloadWith concode_elem_sep JsonEnvelope awaitForEnvelopeWithMetadataOf concode_elem_sep JsonEnvelope awaitForEnvelopeContaining concode_elem_sep JsonEnvelope awaitForEnvelopeWithPayloadOf