DependencyGraphTraceBuilderProperties { public DependencyGraphTraceBuilderProperties defaultProperties(final ValueProperties defaultProperties) { return new DependencyGraphTraceBuilderProperties(this) { public ValueProperties getDefaultProperties() { return defaultProperties; }; }; } 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 defaultProperties() { ValueProperties valueProperties = ValueProperties.parse("A=[foo,bar],B=*"); final DependencyGraphTraceBuilderProperties builder = createBuilder(); final ValueProperties p1 = builder.getDefaultProperties(); final DependencyGraphTraceBuilderProperties prime = builder.defaultProperties(valueProperties); final ValueProperties p2 = prime.getDefaultProperties(); assertEquals(p1, builder.getDefaultProperties()); assertFalse(p1.equals(p2)); }