DependencyGraphTraceBuilderProperties { public DependencyGraphTraceBuilderProperties calculationConfigurationName(final String calculationConfigurationName) { return new DependencyGraphTraceBuilderProperties(this) { public String getCalculationConfigurationName() { return calculationConfigurationName; } }; } DependencyGraphTraceBuilderProperties(); private  DependencyGraphTraceBuilderProperties(DependencyGraphTraceBuilderProperties other); String getCalculationConfigurationName(); Instant getValuationTime(); VersionCorrection getResolutionTime(); ValueProperties getDefaultProperties(); Collection<ValueRequirement> getRequirements(); List<MarketDataSpecification> getMarketData(); DependencyGraphTraceBuilderProperties calculationConfigurationName(final String calculationConfigurationName); DependencyGraphTraceBuilderProperties resolutionTime(final VersionCorrection resolutionTime); DependencyGraphTraceBuilderProperties valuationTime(final Instant valuationTime); DependencyGraphTraceBuilderProperties defaultProperties(final ValueProperties defaultProperties); DependencyGraphTraceBuilderProperties addRequirement(ValueRequirement requirement); DependencyGraphTraceBuilderProperties requirements(final Collection<ValueRequirement> requirements); DependencyGraphTraceBuilderProperties marketData(final List<MarketDataSpecification> marketData); DependencyGraphTraceBuilderProperties addMarketData(MarketDataSpecification marketData); @Override String toString();  }
@Test public void calculationConfigurationName() { final DependencyGraphTraceBuilderProperties builder = createBuilder(); final String c1 = builder.getCalculationConfigurationName(); final DependencyGraphTraceBuilderProperties prime = builder.calculationConfigurationName("Foo"); final String c2 = prime.getCalculationConfigurationName(); assertEquals(c1, builder.getCalculationConfigurationName()); assertFalse(c1.equals(c2)); }