private static Session AddCombinedSession(Quote quote) { var session = new Session(); quote.AsDynamic().AddSession("combined", session); return(session); }
public void Create_FromQuote_MapsSymbol() { var quote = new Quote(); AddCombinedSession(quote); quote.AsDynamic().Symbol = "CZ13"; var parsed = new ParsedDdfQuote(quote); parsed.Symbol.ShouldBeEquivalentTo("CZ13"); }