[PR make fields private
MODIFY
src/test/java/com/datadoghq/trace/impl/DDSpanBuilderTest.java
src/test/java/com/datadoghq/trace/impl/DDSpanBuilderTest.java
@@ -223,9 +223,9 @@ public class DDSpanBuilderTest {
}
spans.get(1).finish(tickEnd);
- assertThat(root.context.getTrace()).hasSize(nbSamples + 1);
- assertThat(root.context.getTrace()).containsAll(spans);
- assertThat(spans.get((int) (Math.random() * nbSamples)).context.getTrace()).containsAll(spans);
+ assertThat(root.context().getTrace()).hasSize(nbSamples + 1);
+ assertThat(root.context().getTrace()).containsAll(spans);
+ assertThat(spans.get((int) (Math.random() * nbSamples)).context().getTrace()).containsAll(spans);
}

[PR #1] make fields private