File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/test/java/org/jsmart/zerocode/core/kafka/receive/message Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99import org .junit .Test ;
1010
1111import java .io .IOException ;
12- import java .util .HashMap ;
12+ import java .util .LinkedHashMap ;
1313import java .util .Map ;
1414
1515import static org .hamcrest .MatcherAssert .assertThat ;
@@ -49,7 +49,7 @@ public void should_serialize_a_record_with_headers() throws JsonProcessingExcept
4949 // given
5050 JsonNode key = objectMapper .readTree ("123" );
5151 JsonNode value = objectMapper .readTree ("\" val\" " );
52- Map <String , String > headers = new HashMap <>();
52+ Map <String , String > headers = new LinkedHashMap <>();
5353 headers .put ("hKey" , "hValue" );
5454 headers .put ("hKeyWithNullValue" , null );
5555 ConsumerJsonRecord record = new ConsumerJsonRecord (key , value , headers );
You can’t perform that action at this time.
0 commit comments