@Test
public void rountTrip() {
Map<DistinctMarketDataSelector, FunctionParameters> selectors2params = Maps.newHashMap();
Map<String, String> params = ImmutableMap.of("foo", "bar");
DistinctMarketDataSelector selector = YieldCurveSelector.of(new YieldCurveKey(Currency.AUD, "curveKey"));
selectors2params.put(selector, new SimpleFunctionParameters(params));
ViewCycleExecutionOptions options =
ViewCycleExecutionOptions
.builder()
.setValuationTime(Instant.now())