Ejemplo n.º 1
0
        public virtual void getMarketDataKey()
        {
            QuoteId quoteId = QuoteId.of(StandardId.of("test", "1"), FieldName.of("fieldName"), ObservableSource.NONE);

            assertThat(KEY.MarketDataId).isEqualTo(quoteId);
            assertThat(QuoteScenarioArrayId.of(quoteId)).isEqualTo(KEY);
        }
Ejemplo n.º 2
0
 //-----------------------------------------------------------------------
 public override bool Equals(object obj)
 {
     if (obj == this)
     {
         return(true);
     }
     if (obj != null && obj.GetType() == this.GetType())
     {
         QuoteScenarioArrayId other = (QuoteScenarioArrayId)obj;
         return(JodaBeanUtils.equal(id, other.id));
     }
     return(false);
 }