}
//-------------------------------------------------------------------------
@Override
protected void doSetUp() {
MapComputationTargetResolver computationTargetResolver = new MapComputationTargetResolver();
_batchMaster = new DbBatchMaster(getDbConnector(), computationTargetResolver);
_batchWriter = new DbBatchWriter(_batchMaster.getDbConnector(), computationTargetResolver);
final String calculationConfigName = "config_1";
EquitySecurity aapl = new EquitySecurity("EXCH", "EXCH_CODE", "APPLE", Currency.USD);
aapl.setUniqueId(UniqueId.of("Sec", "APPL"));
ComputationTarget target = new ComputationTarget(ComputationTargetType.SECURITY, aapl);
computationTargetResolver.addTarget(target);
_compTargetSpec = target.getLeafSpecification();
_requirement = new ValueRequirement("FAIR_VALUE", _compTargetSpec);
_specification = new ValueSpecification("FAIR_VALUE", _compTargetSpec, ValueProperties.with(ValuePropertyNames.FUNCTION, "IDENTITY_FUNCTION").get());