//------------------------------------------------------------------------- public virtual void test_allIndices() { Swap test = Swap.of(MOCK_GBP1, MOCK_USD1); assertEquals(test.allIndices(), ImmutableSet.of(IborIndices.GBP_LIBOR_3M, FxIndices.EUR_GBP_ECB, OvernightIndices.EUR_EONIA)); }