### Question:
Adapter { @VisibleForTesting static Collection<Model.SpanRef> toSpanRefs(List<Link> links) { List<Model.SpanRef> spanRefs = new ArrayList<>(links.size()); for (Link link : links) { spanRefs.add(toSpanRef(link)); } return spanRefs; } private  Adapter();   }### Answer:
@Test void testSpanRefs() { Link link = Link.create(createSpanContext("00000000000000000000000000cba123", "0000000000fed456")); Collection<Model.SpanRef> spanRefs = Adapter.toSpanRefs(Collections.singletonList(link)); assertEquals(1, spanRefs.size()); }