security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "6879"));
return security;
}
public static EquityIndexDividendFutureSecurity getEquityIndexDividendFutureSecurity() {
final EquityIndexDividendFutureSecurity security = new EquityIndexDividendFutureSecurity(new Expiry(DateUtils.getUTCDate(2013, 6, 1)), TRADING, SETTLEMENT, USD, 100,
DateUtils.getUTCDate(2013, 6, 1), ExternalSchemes.syntheticSecurityId("SPX"), "Equity Index");
security.setUniqueId(UniqueId.of(UniqueId.EXTERNAL_SCHEME.getName(), "123"));
return security;
}