assertEquals(requirement.getValueName(), MarketDataRequirementNames.MARKET_VALUE);
assertEquals(requirement.getTargetReference(), inRequirementTarget);
assertTrue(requirement.getConstraints().isSatisfiedBy(ValueProperties.none()));
}
outputs = _function.execute(_functionExecutionContext,
new FunctionInputsImpl(resolver.atVersionCorrection(VersionCorrection.LATEST), new ComputedValue(new ValueSpecification(MarketDataRequirementNames.MARKET_VALUE,
ComputationTargetSpecification.of(UniqueId.of("ExternalId-LiveData", "USD_GBP")), properties), _rateUSD_GBP)), _matrixTarget, Collections.singleton(outRequirement));
assertEquals(1, outputs.size());
output = outputs.iterator().next();
assertTrue(output.getValue() instanceof Double);
assertEquals(_rateEUR_GBP / _rateUSD_GBP, (Double) output.getValue(), Double.MIN_NORMAL);