### Question:
SpanBuilder implements Tracer.SpanBuilder { @SuppressWarnings("WeakerAccess") public Iterable<Map.Entry<String, String>> baggageItems() { if (parent == null) { return Collections.emptySet(); } else { return parent.baggageItems(); } } SpanBuilder(String operationName, AbstractTracer tracer); @Override Tracer.SpanBuilder asChildOf(io.opentracing.SpanContext parent); @Override Tracer.SpanBuilder asChildOf(io.opentracing.Span parent); @Override Tracer.SpanBuilder addReference(String type, io.opentracing.SpanContext referredTo); @Override Tracer.SpanBuilder ignoreActiveSpan(); Tracer.SpanBuilder withTag(String key, String value); Tracer.SpanBuilder withTag(String key, boolean value); Tracer.SpanBuilder withTag(String key, Number value); Tracer.SpanBuilder withTag(io.opentracing.tag.Tag<T> tag, T value); Tracer.SpanBuilder withStartTimestamp(long microseconds); @SuppressWarnings({"WeakerAccess", "UnusedReturnValue", "SameParameterValue"}) Tracer.SpanBuilder withTraceIdAndSpanId(long traceId, long spanId); @SuppressWarnings("WeakerAccess") Iterable<Map.Entry<String, String>> baggageItems(); @Override io.opentracing.Span start();  }### Answer:
@Test public void testBaggageItems_noParent() { Iterable<Map.Entry<String, String>> result = undertest.baggageItems(); assertNotNull(result); Iterator<Map.Entry<String, String>> iterator = result.iterator(); assertFalse(iterator.hasNext()); }