LocalDependencyGraphTraceProvider implements DependencyGraphTraceProvider { @Override public DependencyGraphBuildTrace getTrace(DependencyGraphTraceBuilderProperties properties) { return _traceBuilder.build(properties); } LocalDependencyGraphTraceProvider(DependencyGraphTraceBuilder traceBuilder); @Override DependencyGraphBuildTrace getTrace(DependencyGraphTraceBuilderProperties properties);  }
@Test public void getTrace() { DependencyGraphTraceBuilderProperties properties = new DependencyGraphTraceBuilderProperties(); when(_builder.build(properties)).thenReturn(_sampleResult); DependencyGraphBuildTrace result = _provider.getTrace(properties); verify(_builder).build(properties); assertEquals(_sampleResult, result); }