assertMatrixEqual(empty, cycleGenericObject(CurrencyMatrix.class, empty));
}
@Test
public void testSymmetricalMatrix() {
final SimpleCurrencyMatrix simple = new SimpleCurrencyMatrix();
simple.setLiveData(Currency.USD, Currency.GBP,
new ValueRequirement(MarketDataRequirementNames.MARKET_VALUE, ComputationTargetType.PRIMITIVE, ExternalId.of(ExternalSchemes.BLOOMBERG_TICKER.getName(), "GBP Curncy")));
simple.setFixedConversion(Currency.GBP, Currency.EUR, 0.9);
simple.setCrossConversion(Currency.USD, Currency.EUR, Currency.GBP);
simple.setFixedConversion(Currency.EUR, Currency.CHF, 10.0);
assertMatrixEqual(simple, cycleGenericObject(CurrencyMatrix.class, simple));
}