new BloombergSwaptionVolatilitySurfaceInstrumentProvider("US", "SV", true, false, " Curncy")))));
}
@Test
public void testEOCycle() {
final BloombergEquityOptionVolatilitySurfaceInstrumentProvider instrumentProvider = new BloombergEquityOptionVolatilitySurfaceInstrumentProvider("DJX", "Index", MarketDataRequirementNames.IMPLIED_VOLATILITY);
final VolatilitySurfaceSpecification spec = new VolatilitySurfaceSpecification("DEFAULT", UniqueId.of(ExternalSchemes.BLOOMBERG_TICKER_WEAK.getName(), "DJX Index"),
SurfaceAndCubeQuoteType.CALL_AND_PUT_STRIKE, instrumentProvider);
AssertJUnit.assertEquals(spec, cycleObject(VolatilitySurfaceSpecification.class, spec));
AssertJUnit.assertFalse(spec.equals(
cycleObject(VolatilitySurfaceSpecification.class,
new VolatilitySurfaceSpecification("DEFAULT", UniqueId.of(ExternalSchemes.BLOOMBERG_TICKER.getName(), "DJX Index"),
SurfaceAndCubeQuoteType.CALL_AND_PUT_STRIKE,
new BloombergEquityOptionVolatilitySurfaceInstrumentProvider("DJX", "Index", MarketDataRequirementNames.MID_IMPLIED_VOLATILITY)))));
}