### Question:
TraceState { public abstract List<Entry> getEntries(); TraceState(); static TraceState getDefault(); @Nullable String get(String key); abstract List<Entry> getEntries(); static Builder builder(); Builder toBuilder(); static final int MAX_VENDOR_ID_SIZE; }### Answer:
@Test void getEntries() { assertThat(firstTraceState.getEntries()) .containsExactly(TraceState.Entry.create(FIRST_KEY, FIRST_VALUE)); assertThat(secondTraceState.getEntries()) .containsExactly(TraceState.Entry.create(SECOND_KEY, SECOND_VALUE)); assertThat(multiValueTraceState.getEntries()) .containsExactly( TraceState.Entry.create(SECOND_KEY, SECOND_VALUE), TraceState.Entry.create(FIRST_KEY, FIRST_VALUE)); }